Skip to content

Commit

Permalink
chore: fix reference variable (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicejli committed Jan 12, 2024
1 parent 22c155e commit e51a40d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ jobs:
- name: Determine which upload URL to use
id: determine_upload_url
run: |
echo "automated URL: ${{ AUTO_UPLOAD_URL }}"
echo "manual URL: ${{ MANUAL_UPLOAD_URL }}"
if [[ -n "${{ AUTO_UPLOAD_URL }}" ]]; then
echo "GITHUB_UPLOAD_URL=${{ AUTO_UPLOAD_URL }}" >> "$GITHUB_OUTPUT"
echo "automated URL: $AUTO_UPLOAD_URL"
echo "manual URL: $MANUAL_UPLOAD_URL"
if [[ -n "$AUTO_UPLOAD_URL" ]]; then
echo "GITHUB_UPLOAD_URL=$AUTO_UPLOAD_URL" >> "$GITHUB_OUTPUT"
else
echo "GITHUB_UPLOAD_URL=${{ MANUAL_UPLOAD_URL }}" >> "$GITHUB_OUTPUT"
echo "GITHUB_UPLOAD_URL=$MANUAL_UPLOAD_URL" >> "$GITHUB_OUTPUT"
fi
- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit e51a40d

Please sign in to comment.