Skip to content

Commit

Permalink
fix(examples): partial revert of 32583f7
Browse files Browse the repository at this point in the history
- in action.yml the ARCH change is broken since 32583f7
- for more details see comment in the file

Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
  • Loading branch information
AtomicFS committed Nov 14, 2024
1 parent fd3d412 commit 935ba72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ runs:
run: echo "version=v0.6.1" >> "${GITHUB_OUTPUT}"

- id: arch
# This ARCH is used to fetch correct executable of firmware-action
# GoReleaser uses 'x86_64' instead of 'amd64'
shell: bash
run: |
if [ ${{ runner.arch }} = "X64" ]; then
echo "arch=amd64" >> "${GITHUB_OUTPUT}"
echo "arch=x86_64" >> "${GITHUB_OUTPUT}"
if [ ${{ runner.arch }} = "amd64" ]; then
echo "arch=x86_64" >> "${GITHUB_OUTPUT}"
elif [ ${{ runner.arch }} = "X86" ]; then
echo "arch=i386" >> "${GITHUB_OUTPUT}"
elif [ ${{ runner.arch }} = "ARM64" ]; then
Expand Down

0 comments on commit 935ba72

Please sign in to comment.