Skip to content

Commit

Permalink
Adjust build
Browse files Browse the repository at this point in the history
  • Loading branch information
kettek committed Jan 11, 2024
1 parent cc08c92 commit db2469c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
GPT_KEY: ${{ secrets.GPT_KEY }}
shell: bash
run: go build -ldflags "-X ebijam23/resources.gptKey=$GPT_KEY" -o retromancer.exe
run: go build -ldflags "-X github.com/ketMix/retromancer/resources.gptKey=$GPT_KEY" -o retromancer.exe
- name: Upload Windows exe
uses: actions/upload-artifact@v3
with:
Expand All @@ -37,7 +37,7 @@ jobs:
shell: bash
env:
GPT_KEY: ${{ secrets.GPT_KEY }}
run: go build -ldflags "-X ebijam23/resources.gptKey=$GPT_KEY" -o retromancer
run: go build -ldflags "-X github.com/ketMix/retromancer/resources.gptKey=$GPT_KEY" -o retromancer
- name: Tar it up
shell: bash
run: tar -zcvf retromancer-mac.tar.gz retromancer LICENSE
Expand All @@ -63,7 +63,7 @@ jobs:
shell: bash
env:
GPT_KEY: ${{ secrets.GPT_KEY }}
run: go build -ldflags "-X ebijam23/resources.gptKey=$GPT_KEY" -v -o retromancer
run: go build -ldflags "-X github.com/ketMix/retromancer/resources.gptKey=$GPT_KEY" -v -o retromancer
- name: Tar it up
shell: bash
run: tar -zcvf retromancer-lin.tar.gz retromancer LICENSE
Expand All @@ -86,7 +86,7 @@ jobs:
shell: bash
env:
GPT_KEY: ${{ secrets.GPT_KEY }}
run: GOOS=js GOARCH=wasm go build -v -ldflags "-X ebijam23/resources.gptKey=$GPT_KEY -w -s" -o dist/web/retromancer.wasm
run: GOOS=js GOARCH=wasm go build -v -ldflags "-X github.com/ketMix/retromancer/resources.gptKey=$GPT_KEY -w -s" -o dist/web/retromancer.wasm
- name: Copy WASM exec script
shell: bash
run: cp $(go env GOROOT)/misc/wasm/wasm_exec.js dist/web/.
Expand Down

0 comments on commit db2469c

Please sign in to comment.