Skip to content

Commit

Permalink
Set dummy ACTIONS_RUNTIME_TOKEN for act to prevent failure in the…
Browse files Browse the repository at this point in the history
… `actions/upload-artifact` step.
  • Loading branch information
slavaGanzin committed Aug 1, 2024
1 parent b98d5dc commit 1697ef1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
mv await releases/await_${{ github.ref_name }}_linux_amd64
fi
- name: Upload release assets
- name: Set dummy ACTIONS_RUNTIME_TOKEN for act
if: ${{ env.ACT }}
run: echo "::set-env name=ACTIONS_RUNTIME_TOKEN::dummy_token"
uses: actions/upload-artifact@v2
with:
name: release-binaries
Expand Down

0 comments on commit 1697ef1

Please sign in to comment.