1
0
Fork 0

Update Build_Release.yml

master
lmoretti96 4 years ago committed by GitHub
parent 9e0f551fba
commit 2c853e7588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/Build_Release.yml

@ -1,4 +1,5 @@
on:
on:
push: push:
# Sequence of patterns matched against refs/tags # Sequence of patterns matched against refs/tags
#tags: #tags:
@ -31,16 +32,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PYCTBN_TOK }} GITHUB_TOKEN: ${{ secrets.PYCTBN_TOK }}
with: with:
tag_name: v.${{ github.ref }} tag_name: v.${{ github.ref }}
release_name: Release v ${{ github.ref }} release_name: Release v- ${{ github.ref }}
draft: false draft: false
prerelease: false prerelease: false
- name: Upload Release Asset - name: Upload Release Asset
id: upload-release-asset id: upload-release-asset
uses: actions/upload-release-asset@v1 uses: AButler/upload-release-assets@v2.0
env:
GITHUB_TOKEN: ${{ secrets.PYCTBN_TOK }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps files: 'dist/*;'
asset_path: ./dist/PyCTBN-1.0.tar.gz repo-token: ${{ secrets.PYCTBN_TOK }}
asset_name: PyCTBN-1.0.tar.gz
asset_content_type: application/tar+gzip