Skip to content

Commit

Permalink
🔭 No github.event?
Browse files Browse the repository at this point in the history
  • Loading branch information
oddstr13 committed Sep 25, 2023
1 parent 41dfe09 commit 216cf74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
run: |
echo "event_name: ${{ github.event_name }}"
echo "release.upload_url: ${{ github.event.release.upload_url }}"
echo "inputs.upload_url: ${{ github.event.inputs.upload_url }}"
echo "ternary output: ${{ github.event_name == 'release' && github.event.release.upload_url || github.event.inputs.upload_url }}"
echo "inputs.upload_url: ${{ inputs.upload_url }}"
echo "ternary output: ${{ github.event_name == 'release' && github.event.release.upload_url || inputs.upload_url }}"
- name: Upload GitHub Release Artifacts
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: "${{ github.event_name == 'release' && github.event.release.upload_url || github.event.inputs.upload_url }}"
upload_url: "${{ github.event_name == 'release' && github.event.release.upload_url || inputs.upload_url }}"
asset_path: 'dist/*'
overwrite: true

0 comments on commit 216cf74

Please sign in to comment.