Skip to content

Commit

Permalink
goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
matteriot committed Oct 29, 2023
1 parent 072dfcf commit b874694
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
Expand Down Expand Up @@ -84,7 +83,6 @@ jobs:
run: gomobile bind -ldflags '-w -s -extldflags "-lresolve"' --target=ios,macos,iossimulator -o OpenIoTHubGateway.xcframework ./client
- name: Release windows setup
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
OpenIoTHubGateway.xcframework
Expand All @@ -94,7 +92,6 @@ jobs:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
- name: Release windows setup
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
gateway.aar
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,9 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --snapshot
args: release --clean --snapshot
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: goreleaser-dist
path: dist/*

0 comments on commit b874694

Please sign in to comment.