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

View file

@ -7,9 +7,19 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
nix:
- name: 2.10.3
url: https://releases.nixos.org/nix/nix-2.10.3/install
steps: steps:
- uses: actions/checkout@v2.3.4 - 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) - name: Enable binary cache (optional)
uses: cachix/cachix-action@v10 uses: cachix/cachix-action@v10

View file

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

View file

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