mirror of
https://github.com/nyanotech/object-holder.git
synced 2025-12-16 11:30:24 -08:00
use softprops/action-gh-release for artifact uploading
This commit is contained in:
parent
34f0077071
commit
d1d85aaabb
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -51,14 +51,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