mirror of
https://github.com/nyanotech/object-holder.git
synced 2025-12-16 11:30:24 -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:
|
||||
goos: [linux, windows, darwin]
|
||||
goarch: [amd64, arm64]
|
||||
exclude:
|
||||
- goos: darwin
|
||||
goarch: amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
@ -51,14 +54,9 @@ jobs:
|
||||
echo "ASSET_PATH=${ARCHIVE_NAME}.tar.gz" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Upload release asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ${{ env.ASSET_PATH }}
|
||||
asset_name: ${{ env.ASSET_PATH }}
|
||||
asset_content_type: application/octet-stream
|
||||
files: ${{ env.ASSET_PATH }}
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user