We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd3d412 commit 77759c3Copy full SHA for 77759c3
action.yml
@@ -31,10 +31,14 @@ runs:
31
run: echo "version=v0.6.1" >> "${GITHUB_OUTPUT}"
32
33
- id: arch
34
+ # This ARCH is used to fetch correct executable of firmware-action
35
+ # GoReleaser uses 'x86_64' instead of 'amd64'
36
shell: bash
37
run: |
38
if [ ${{ runner.arch }} = "X64" ]; then
- echo "arch=amd64" >> "${GITHUB_OUTPUT}"
39
+ echo "arch=x86_64" >> "${GITHUB_OUTPUT}"
40
+ if [ ${{ runner.arch }} = "amd64" ]; then
41
42
elif [ ${{ runner.arch }} = "X86" ]; then
43
echo "arch=i386" >> "${GITHUB_OUTPUT}"
44
elif [ ${{ runner.arch }} = "ARM64" ]; then
0 commit comments