Skip to content

Commit

Permalink
Set same envvars for all steps in job
Browse files Browse the repository at this point in the history
  • Loading branch information
lunkwill42 committed Dec 1, 2023
1 parent c05e86e commit 2363413
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
runs-on: macos-12
permissions:
contents: write
env:
PACKER_LOG: 1
PACKER_CACHE: ~/.cache/packer

steps:
- name: Checkout repository
Expand All @@ -33,17 +36,11 @@ jobs:
- name: Validate Template
run: |
packer validate bullseye.json
env:
PACKER_LOG: 1
PACKER_CACHE: ~/.cache/packer
- name: Build Artifact
run: |
packer build bullseye.json
ls -la
env:
PACKER_LOG: 1
PACKER_CACHE: ~/.cache/packer
- name: Upload video artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 2363413

Please sign in to comment.