Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 21, 2023
1 parent f4d5209 commit 6b27403
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,11 @@ jobs:
- name: Fetch tags
run: git fetch --tags --force

# From https://github.com/pguyot/arm-runner-action/blob/main/.github/workflows/test-cache.yml
- uses: actions/cache@v3
id: cache
with:
path: $RUNNER_TEMP/base_system.img
key: ${{ matrix.base_image }}

# Grab if we couldn't find it in the cache
- run: wget -O $RUNNER_TEMP/base_system.img ${{ matrix.base_image }}
if: steps.cache.outputs.cache-hit != 'true'

- uses: pguyot/arm-runner-action@HEAD
id: install_deps
with:
image_additional_mb: 1500
base_image: file://$RUNNER_TEMP/base_system.img
base_image: ${{ matrix.base_image }}
commands: ${{ matrix.script }}

- name: Compress built image
Expand Down

0 comments on commit 6b27403

Please sign in to comment.