mirror of
https://github.com/nyanotech/object-holder.git
synced 2025-12-17 12:00:23 -08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f205ad57b2 | |||
| d1d85aaabb |
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
goos: [linux, windows, darwin]
|
goos: [linux, windows, darwin]
|
||||||
goarch: [amd64, arm64]
|
goarch: [amd64, arm64]
|
||||||
|
exclude:
|
||||||
|
- goos: darwin
|
||||||
|
goarch: amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
@ -51,14 +54,9 @@ jobs:
|
|||||||
echo "ASSET_PATH=${ARCHIVE_NAME}.tar.gz" >> $GITHUB_ENV
|
echo "ASSET_PATH=${ARCHIVE_NAME}.tar.gz" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
files: ${{ env.ASSET_PATH }}
|
||||||
asset_path: ${{ env.ASSET_PATH }}
|
|
||||||
asset_name: ${{ env.ASSET_PATH }}
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user