Skip to content

Commit

Permalink
CI: Ubuntu 20.04 to support static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Sep 10, 2023
1 parent 52c79a0 commit dcf678a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
create_release:
name: Create Github Release
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
Expand All @@ -35,11 +35,11 @@ jobs:
name: Build Artifact
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-20.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- if: matrix.os == 'ubuntu-latest'
- if: matrix.os == 'ubuntu-20.04'
uses: actions/cache@v3
name: Cache ~/.stack
with:
Expand All @@ -53,7 +53,7 @@ jobs:
ghc-version: "9.4.6"
enable-stack: true
stack-version: "latest"
- if: matrix.os == 'ubuntu-latest'
- if: matrix.os == 'ubuntu-20.04'
name: Build binary (linux/static)
run: stack install --local-bin-path dist --flag git-brunch:static
- if: matrix.os == 'macos-latest'
Expand Down

0 comments on commit dcf678a

Please sign in to comment.