mirror of
https://github.com/danielmiessler/fabric.git
synced 2026-09-10 07:36:44 -04:00
fix(ci): fix names of artifacts to upload
Some checks are pending
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, macos-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, ubuntu-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, windows-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (arm64, macos-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (arm64, ubuntu-latest) (push) Waiting to run
Some checks are pending
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, macos-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, ubuntu-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (amd64, windows-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (arm64, macos-latest) (push) Waiting to run
Go Build and Release / Build binaries for Windows, macOS, and Linux (arm64, ubuntu-latest) (push) Waiting to run
This commit is contained in:
parent
cd66d88e2d
commit
55621a6963
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
|
|
@ -34,13 +34,14 @@ jobs:
|
||||||
- name: Determine OS Name
|
- name: Determine OS Name
|
||||||
id: os-name
|
id: os-name
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
|
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
|
||||||
echo "OS=linux" >> $GITHUB_ENV
|
echo "OS=linux" >> $GITHUB_ENV
|
||||||
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
|
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
|
||||||
echo "OS=darwin" >> $GITHUB_ENV
|
echo "OS=darwin" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "OS=windows" >> $GITHUB_ENV
|
echo "OS=windows" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Build binary on Linux and macOS
|
- name: Build binary on Linux and macOS
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue