was using unmaintained action
This commit is contained in:
parent
7f668b2f3d
commit
d090a1f04e
24
.github/workflows/update-release-v1.yml
vendored
24
.github/workflows/update-release-v1.yml
vendored
@ -50,23 +50,17 @@ jobs:
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
uses: softprops/action-gh-release@v0.1.13
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
tag_name: ${{ steps.version.outputs.version_tag }}
|
||||
release_name: ${{ steps.version.outputs.version }}
|
||||
name: ${{ steps.version.outputs.version }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
owner: ${{ github.actor }}
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
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
|
||||
asset_path: ./build.zip
|
||||
asset_name: build.zip
|
||||
asset_content_type: application/zip
|
||||
fail_on_unmatched_files: true
|
||||
target_commitish: github.sha
|
||||
files: |
|
||||
build.zip
|
||||
README.md
|
||||
LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user