Update build-project.yml

This commit is contained in:
DJ2LS 2021-08-28 10:03:40 +02:00 committed by GitHub
parent 99c40268e9
commit 7181384945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,22 +72,12 @@ jobs:
mkdir ../artifact mkdir ../artifact
zip -r ../artifact/${{ matrix.zip_name }}.zip * zip -r ../artifact/${{ matrix.zip_name }}.zip *
- name: Upload
uses: actions/upload-release-asset@v1
- name: Release Linux env:
uses: softprops/action-gh-release@v1 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# if: startsWith(github.ref, 'refs/tags/')
with: with:
name: Test-Release-Ubuntu
tag_name: v0.1-alpha
prerelease: true
upload_url: ${{ needs.create_release.outputs.upload_url }} upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: ./tnc/dist/artifact/${{ matrix.zip_name }}.zip asset_path: ./tnc/dist/artifact/${{ matrix.zip_name }}.zip
asset_name: ${{ matrix.zip_name }}.zip asset_name: ${{ matrix.zip_name }}.zip
asset_content_type: application/zip asset_content_type: application/zip
files: |
./tnc/dist/artifact/${{ matrix.zip_name }}.zip
# ./tnc/dist/tnc
# LICENSE