Revert: Consolidate jobs
This commit is contained in:
@@ -6,22 +6,22 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
name: Prepare
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: false
|
||||
- name: Download modules
|
||||
run: go mod download
|
||||
- name: Make build directory
|
||||
run: mkdir -p build && readlink -f build
|
||||
|
||||
# prepare:
|
||||
# name: Prepare
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v6
|
||||
# - name: Setup Go
|
||||
# uses: actions/setup-go@v6
|
||||
# with:
|
||||
# go-version-file: 'go.mod'
|
||||
# check-latest: false
|
||||
# - name: Download modules
|
||||
# run: go mod download
|
||||
# - name: Make build directory
|
||||
# run: mkdir -p build && readlink -f build
|
||||
#
|
||||
# test:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
@@ -30,7 +30,6 @@ jobs:
|
||||
# with:
|
||||
# go-version: ${{ matrix.go }}
|
||||
# version: v2.6
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
@@ -48,6 +47,17 @@ jobs:
|
||||
goarch: arm
|
||||
goarm: "7"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: false
|
||||
- name: Download modules
|
||||
run: go mod download
|
||||
- name: Make build directory
|
||||
run: mkdir -p build && readlink -f build
|
||||
- name: Set target variables
|
||||
run: |
|
||||
echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user