Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Jul 14, 2024
1 parent 89bca44 commit bfec66a
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,23 @@ jobs:
run: |
zip -r "helioscli.zip" .
working-directory: HeliosCLI
- name: Cache HeliosCLI Artifact
uses: actions/cache@v4
- name: Upload HeliosCLI Artifact
uses: actions/upload-artifact@v4
with:
name: helioscli-artifacts
path: HeliosCLI/helioscli.zip
key: ${{ runner.os }}-helioscli-${{ github.sha }}
restore-keys: |
${{ runner.os }}-helioscli-

tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v4
- name: Restore HeliosCLI Artifact
uses: actions/cache@v4
- name: Download HeliosCLI Artifact
uses: actions/download-artifact@v4
with:
path: HeliosCLI/helioscli.zip
key: ${{ runner.os }}-helioscli-${{ github.sha }}
restore-keys: |
${{ runner.os }}-helioscli-
name: helioscli-artifacts
path: ./HeliosCLI
- name: Set execute permissions for test script
run: chmod +x ./runtests.sh
working-directory: tests
Expand Down Expand Up @@ -71,11 +67,9 @@ jobs:
run: |
zip -r "embedded-firmware.zip" .
working-directory: HeliosEmbedded
- name: Cache HeliosEmbedded Artifact
uses: actions/cache@v4
- name: Upload HeliosEmbedded Artifact
uses: actions/upload-artifact@v4
with:
name: embedded-firmware
path: HeliosEmbedded/embedded-firmware.zip
key: ${{ runner.os }}-embedded-${{ github.sha }}
restore-keys: |
${{ runner.os }}-embedded-

0 comments on commit bfec66a

Please sign in to comment.