update workflow versions
This commit is contained in:
parent
ccbabbd3f8
commit
19055142e1
1 changed files with 6 additions and 6 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -8,10 +8,10 @@ jobs:
|
|||
build-nix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v19
|
||||
uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
extra_nix_config: |
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
||||
|
||||
- name: Build with cachix
|
||||
uses: cachix/cachix-action@v12
|
||||
uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: hakyll-nix-template
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
- run: nix build --accept-flake-config
|
||||
|
||||
- name: Artifact pages
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pages
|
||||
path: result/dist
|
||||
|
@ -43,14 +43,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: pages
|
||||
path: result
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: success()
|
||||
uses: crazy-max/ghaction-github-pages@v3.1.0
|
||||
uses: crazy-max/ghaction-github-pages@v4.0.0
|
||||
with:
|
||||
build_dir: result
|
||||
target_branch: gh-pages
|
||||
|
|
Loading…
Add table
Reference in a new issue