update actions

pull/15/head
fengyuecanzhu 3 years ago
parent 93dac5967a
commit 3253556361
  1. 4
      .github/workflows/reader.yml

@ -71,7 +71,7 @@ jobs:
echo ::set-output name=file_path::"$path/$file"
- name: 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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -83,7 +83,7 @@ jobs:
prerelease: false
- name: 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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save