Skip to content

Commit 77759c3

Browse files
committed
fix(examples): partial revert of 32583f7
- in action.yml the ARCH change is broken since 32583f7 - for more details see comment in the file Signed-off-by: AtomicFS <[email protected]>
1 parent fd3d412 commit 77759c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@ runs:
3131
run: echo "version=v0.6.1" >> "${GITHUB_OUTPUT}"
3232

3333
- id: arch
34+
# This ARCH is used to fetch correct executable of firmware-action
35+
# GoReleaser uses 'x86_64' instead of 'amd64'
3436
shell: bash
3537
run: |
3638
if [ ${{ runner.arch }} = "X64" ]; then
37-
echo "arch=amd64" >> "${GITHUB_OUTPUT}"
39+
echo "arch=x86_64" >> "${GITHUB_OUTPUT}"
40+
if [ ${{ runner.arch }} = "amd64" ]; then
41+
echo "arch=x86_64" >> "${GITHUB_OUTPUT}"
3842
elif [ ${{ runner.arch }} = "X86" ]; then
3943
echo "arch=i386" >> "${GITHUB_OUTPUT}"
4044
elif [ ${{ runner.arch }} = "ARM64" ]; then

0 commit comments

Comments
 (0)