File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,36 @@ jobs:
163163 if : runner.os == 'Windows'
164164 run : GZIP=-9 tar -czf echidna.tar.gz -C $APPDATA/local/bin/ echidna.exe
165165
166+ - name : Generate artifact name
167+ id : artifact-name
168+ run : |
169+ case "$OS-$ARCH" in
170+ macOS-ARM64)
171+ NAME="aarch64-macos"
172+ ;;
173+ macOS-X64)
174+ NAME="x86_64-macos"
175+ ;;
176+ Windows-X64)
177+ NAME="x86_64-windows"
178+ ;;
179+ Linux-X64)
180+ NAME="x86_64-linux"
181+ ;;
182+ *)
183+ echo "Unknown os-arch combo: ${OS}-${ARCH}"
184+ exit 1
185+ ;;
186+ esac
187+ echo "name=${NAME}" >> "$GITHUB_OUTPUT"
188+ env :
189+ OS : ${{ runner.os }}
190+ ARCH : ${{ runner.arch }}
191+
166192 - name : Upload artifact
167193 uses : actions/upload-artifact@v3
168194 with :
169- name : echidna-${{ runner.os }}-${{ runner.arch }}
195+ name : echidna-${{ steps.artifact-name.outputs.name }}
170196 path : echidna.tar.gz
171197
172198 - name : Build and copy test suite
You can’t perform that action at this time.
0 commit comments