Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Jul 14, 2024
1 parent 3824c36 commit 66d3ee4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
working-directory: HeliosEmbedded
- name: Archive HeliosEmbedded artifacts
run: |
zip -r "embedded firmware.zip" .
zip -r "embedded-firmware.zip" .
working-directory: HeliosEmbedded
- name: Upload HeliosEmbedded Artifact
uses: actions/upload-artifact@v4
with:
name: embedded-firmware
path: HeliosEmbedded/embedded\ firmware.zip
path: HeliosEmbedded/embedded-firmware.zip

26 changes: 14 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,23 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore HeliosCLI Artifact
uses: actions/cache@v4
- name: Download HeliosCLI Artifact
uses: actions/download-artifact@v4
with:
path: ./artifact/unzipped/helioscli
key: ${{ runner.os }}-helioscli-${{ hashFiles('HeliosCLI/helioscli.zip') }}
restore-keys: |
${{ runner.os }}-helioscli-
name: helioscli-artifacts
path: ./artifact

- name: Restore HeliosEmbedded Artifact
uses: actions/cache@v4
- name: Unzip HeliosCLI Artifact
run: unzip ./artifact/helioscli.zip -d ./artifact/unzipped/helioscli

- name: Download HeliosEmbedded Artifact
uses: actions/download-artifact@v4
with:
path: ./artifact/unzipped/embedded
key: ${{ runner.os }}-embedded-${{ hashFiles('HeliosEmbedded/embedded\ firmware.zip') }}
restore-keys: |
${{ runner.os }}-embedded-
name: embedded-firmware
path: ./artifact

- name: Unzip HeliosEmbedded Artifact
run: unzip ./artifact/embedded-firmware.zip -d ./artifact/unzipped/embedded

- name: Upload Release Assets (helios.bin)
if: env.skip_release == 'false'
Expand Down

0 comments on commit 66d3ee4

Please sign in to comment.