From 28edc3596f9e666e7fcf2552267dfd046f24011b Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Sun, 22 Oct 2023 14:21:35 +0200 Subject: [PATCH] Added correct file extension to wasm --- .github/workflows/go.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 841ae74..8617c18 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,7 @@ jobs: os: linux - arch: wasm os: wasip1 + ext: .wasm runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -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/upload-artifact@v3.1.3