.github: Bump versions

This commit is contained in:
Zhaofeng Li 2022-07-17 14:42:34 -07:00
parent 7d0a6eed90
commit 5d2f128515
4 changed files with 36 additions and 14 deletions

View file

@ -10,11 +10,11 @@ jobs:
- ubuntu-latest
- macos-11
nix:
- name: 2.8.0
url: https://releases.nixos.org/nix/nix-2.8.0/install
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/checkout@v3.0.2
- uses: cachix/install-nix-action@v17
with:
install_url: ${{ matrix.nix.url }}
@ -51,8 +51,8 @@ jobs:
url: https://releases.nixos.org/nix/nix-2.3.16/install
- name: 2.4
url: https://releases.nixos.org/nix/nix-2.4/install
- name: 2.8.0
url: https://releases.nixos.org/nix/nix-2.8.0/install
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.5

View file

@ -7,9 +7,19 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
nix:
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v15
- uses: cachix/install-nix-action@v17
with:
install_url: ${{ matrix.nix.url }}
extra_nix_config: |
experimental-features = nix-command flakes
- name: Enable binary cache (optional)
uses: cachix/cachix-action@v10

View file

@ -7,17 +7,23 @@ name: Deploy Stable Manual
on:
push:
branches:
- release-0.3.x
- release-0.4.x
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
nix:
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
steps:
- uses: haya14busa/action-workflow_run-status@v1
- uses: actions/checkout@v2.3.5
- uses: cachix/install-nix-action@v15
- uses: actions/checkout@v3.0.2
- uses: cachix/install-nix-action@v17
with:
install_url: https://releases.nixos.org/nix/nix-2.4/install
install_url: ${{ matrix.nix.url }}
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10

View file

@ -12,12 +12,18 @@ jobs:
deploy-unstable:
runs-on: ubuntu-latest
strategy:
matrix:
nix:
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
steps:
- uses: haya14busa/action-workflow_run-status@v1
- uses: actions/checkout@v2.3.5
- uses: cachix/install-nix-action@v15
- uses: actions/checkout@v3.0.2
- uses: cachix/install-nix-action@v17
with:
install_url: https://releases.nixos.org/nix/nix-2.4/install
install_url: ${{ matrix.nix.url }}
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
@ -30,7 +36,7 @@ jobs:
run: nix build .#manual -L
- name: Deploy manual
uses: JamesIves/github-pages-deploy-action@4.1.6
uses: JamesIves/github-pages-deploy-action@4.3.4
with:
branch: gh-pages
folder: result