Skip to content

Commit

Permalink
Added correct file extension to wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Oct 22, 2023
1 parent d5d5d82 commit 28edc35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
os: linux
- arch: wasm
os: wasip1
ext: .wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -35,10 +36,10 @@ jobs:
CGO_ENABLED: 0
GOOS: ${{ matrix.target.os }}
GOARCH: ${{ matrix.target.arch }}
run: go build -v -o fritzbox-cloudflare-dyndns .
run: go build -v -o fritzbox-cloudflare-dyndns${{ matrix.target.ext }} .

- name: Tar up
run: tar -cJf "fritzbox-cloudflare-dyndns-${{ matrix.target.arch }}.tar.xz" fritzbox-cloudflare-dyndns
run: tar -cJf "fritzbox-cloudflare-dyndns-${{ matrix.target.arch }}.tar.xz" fritzbox-cloudflare-dyndns${{ matrix.target.ext }}

- name: Upload a Build Artifact
uses: actions/[email protected]
Expand Down

0 comments on commit 28edc35

Please sign in to comment.