Skip to content

Commit

Permalink
Add downloaded ISO caching
Browse files Browse the repository at this point in the history
  • Loading branch information
lunkwill42 committed Dec 1, 2023
1 parent 9b2eaff commit e75d29f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Create packer cache directory
run: |
mkdir -p $PACKER_CACHE
- name: Get ISO checksums
id: get-checksum
run: |
echo "checksum=$(cat bullseye.json | jq '.builders[].iso_checksum')" >> $GITHUB_OUTPUT
shell: bash

- name: "Cache downloaded packer images"
uses: actions/cache/save@v3
if: always()
id: packer-cache
with:
path: .cache/packer
key: ${{ steps.get-checksum.outputs.checksum }}

- name: Install virtualbox plugin
run: |
Expand Down

0 comments on commit e75d29f

Please sign in to comment.