Update upload-release-assets.yml

This commit is contained in:
0g-wh 2024-07-30 17:40:59 +08:00 committed by GitHub
parent 4ae49bf29b
commit a30932b5f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,10 +16,10 @@ jobs:
- name: Build - name: Build
run: make build run: make build
- name: Rename file - name: Rename file
run: mv ./out/linux/0gchaind ./out/linux/0gchaind-linux run: mv ./out/linux/0gchaind ./out/linux/0gchaind-linux-${{ github.ref_name }}
- name: Upload Release Asset - name: Upload Release Asset
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: ./out/linux/0gchaind-linux files: ./out/linux/0gchaind-linux-${{ github.ref_name }}
env: env:
GITHUB_TOKEN: ${{ secrets.ZG_UPLOAD_ASSET }} GITHUB_TOKEN: ${{ secrets.ZG_UPLOAD_ASSET }}