Skip to content

Commit

Permalink
chore: move env under job instead of steps (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicejli authored Jan 12, 2024
1 parent d0a14ac commit 22c155e
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 @@ -69,6 +69,10 @@ jobs:
binary-assets:
runs-on: ubuntu-latest
needs: [get-upload-url, proto-assets]
env:
AUTO_UPLOAD_URL: ${{ needs.get-upload-url.outputs.automated_upload_url }}
MANUAL_UPLOAD_URL: ${{ needs.get-upload-url.outputs.manual_upload_url }}
GITHUB_TOKEN: ${{ github.token }}
strategy:
matrix:
osarch:
Expand All @@ -83,11 +87,7 @@ jobs:
- os: windows
arch: amd64
steps:
- env:
AUTO_UPLOAD_URL: ${{ needs.get-upload-url.outputs.automated_upload_url }}
MANUAL_UPLOAD_URL: ${{ needs.get-upload-url.outputs.manual_upload_url }}
GITHUB_TOKEN: ${{ github.token }}
name: Determine which upload URL to use
- name: Determine which upload URL to use
id: determine_upload_url
run: |
echo "automated URL: ${{ AUTO_UPLOAD_URL }}"
Expand Down

0 comments on commit 22c155e

Please sign in to comment.