|
|
@ -71,7 +71,7 @@ jobs: |
|
|
|
echo ::set-output name=file_path::"$path/$file" |
|
|
|
echo ::set-output name=file_path::"$path/$file" |
|
|
|
- name: Create Release |
|
|
|
- name: Create Release |
|
|
|
id: create_release |
|
|
|
id: create_release |
|
|
|
if: ${{ steps.config.outputs.need_create_release == "true" }} |
|
|
|
if: ${{ steps.config.outputs.need_create_release == 'true' }} |
|
|
|
uses: actions/create-release@v1 |
|
|
|
uses: actions/create-release@v1 |
|
|
|
env: |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
@ -83,7 +83,7 @@ jobs: |
|
|
|
prerelease: false |
|
|
|
prerelease: false |
|
|
|
- name: Upload Release Asset |
|
|
|
- name: Upload Release Asset |
|
|
|
id: upload_release_asset |
|
|
|
id: upload_release_asset |
|
|
|
if: ${{ steps.config.outputs.need_create_release == "true" && steps.create_release.outputs.upload_url }} |
|
|
|
if: ${{ steps.config.outputs.need_create_release == 'true' && steps.create_release.outputs.upload_url }} |
|
|
|
uses: actions/upload-release-asset@v1 |
|
|
|
uses: actions/upload-release-asset@v1 |
|
|
|
env: |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|