Skip to content

Commit

Permalink
Update build-nix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
faldor20 authored Jun 19, 2024
1 parent a24e321 commit 26d671b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ on:
push:
branches:
- master
tags:
- '**'
pull_request:
workflow_dispatch:

permissions: read-all

jobs:
nix:
linux:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit

name: flake build
Expand All @@ -33,12 +33,10 @@ jobs:
path: |
result/bin/jj_tui
nix2:
macos:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
runs-on: ${{ matrix.os }}
runs-on: macos-latest
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit

name: flake build macos
Expand All @@ -58,7 +56,12 @@ jobs:
release:
#Needed to let the job make the release
permissions:
contents: write
discussions: write
runs-on: ubuntu-latest
needs: [macos, linux]
name: release if tag
steps:
- name: Download artifacts
Expand Down

0 comments on commit 26d671b

Please sign in to comment.