diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0161b45..9ec1eef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -130,4 +130,19 @@ jobs: - uses: actions/upload-artifact@v3 with: name: android-aar-libs - path: gateway.aar \ No newline at end of file + path: gateway.aar + + - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v2 + - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v2 + - name: setup-snapcraft + # FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715 + run: | + sudo apt-get update + sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft + mkdir -p $HOME/.cache/snapcraft/download + mkdir -p $HOME/.cache/snapcraft/stage-packages + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + version: latest + args: release --clean --snapshot \ No newline at end of file