Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
lufia committed Feb 28, 2024
1 parent 52d7bdd commit 9b34d0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ on:
push:
branches:
- master
- refactor-b # temp
tags:
- v*
pull_request:


jobs:
build-linux:
name: Build (Unix-like OSes)
env:
DEBIAN_FRONTEND: noninteractive
uses: ./.github/workflows/go-build.yml
with:
os-version: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ on:
required: false
type: string

env:
DEBIAN_FRONTEND: noninteractive
jobs:
run:
runs-on: ${{ inputs.os-version }}
env:
CGO_ENABLED: ${{ inputs.with-cgo - 0 }} # {false|true} -> {0|1}
CGO_ENABLED: ${{ inputs.with-cgo && 1 || 0 }}
steps:
- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 9b34d0c

Please sign in to comment.