mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
test 2
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user