diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 1f2570f801..3f286517b4 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -109,23 +109,20 @@ jobs: args: --timeout 15m0s skip-pkg-cache: true build-wasp-cli: - runs-on: ubuntu-latest - container: - image: iotaledger/goreleaser-cgo-cross-compiler:1.21.0 - steps: - - name: Create dist folder - run: | - mkdir /dist && cd /dist/ - echo "=============" - ls - - # - name: Download temporary artifacts - # uses: actions/download-artifact@v3 - # with: - # name: wasp - - # - name: Untar temporary artifacts, cleanup and set correct permissions - # run: tar -xf temp.tar && rm temp.tar && chown -R root:root . - - - name: Release wasp-cli - run: goreleaser build --clean -f ./tools/wasp-cli/.goreleaser.yml \ No newline at end of file + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - run: git fetch --force --tags + - uses: actions/setup-go@v4 + with: + go-version: stable + # More assembly might be required: Docker logins, GPG, etc. + # It all depends on your needs. + - uses: goreleaser/goreleaser-action@v5 + with: + # either 'goreleaser' (default) or 'goreleaser-pro': + distribution: goreleaser + version: latest + args: build --clean -f ./tools/wasp-cli/.goreleaser.yml \ No newline at end of file