This commit is contained in:
Felipe Madero
2022-09-30 20:03:42 -03:00
parent 7ef88d73ac
commit 79501c7eca
2 changed files with 7 additions and 6 deletions
+5 -1
View File
@@ -78,9 +78,12 @@ jobs:
- name: Build osxcross
run: |
cd osxcross/tarballs
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz -O tarballs/MacOSX11.3.sdk.tar.xz
cd ..
UNATTENDED=1 ./build.sh
echo $PWD/osxcross/target/bin >> $GITHUB_PATH
- name: check path
run: echo $PATH
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
@@ -90,3 +93,4 @@ jobs:
env:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PATH:
+2 -5
View File
@@ -14,10 +14,7 @@ go install -v github.com/goreleaser/goreleaser@latest
# e.g.,
# git tag 1.0.0
goreleaser release \
--config .goreleaser.yml \
--skip-announce \
--skip-publish
#goreleaser release --config .goreleaser.yml --skip-announce --skip-publish
# to test without git tags
# goreleaser release --config .goreleaser.yml --rm-dist --skip-announce --skip-publish --snapshot
goreleaser release --config .goreleaser.yml --rm-dist --skip-announce --skip-publish --snapshot