.github: Update workflow deps
This commit is contained in:
parent
b12e485ef7
commit
a8cacb0057
8
.github/workflows/book.yml
vendored
8
.github/workflows/book.yml
vendored
|
@ -16,9 +16,9 @@ jobs:
|
||||||
if: github.repository == 'zhaofengli/attic'
|
if: github.repository == 'zhaofengli/attic'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.0.2
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@v1
|
- uses: DeterminateSystems/nix-installer-action@v9
|
||||||
continue-on-error: true # Self-hosted runners already have Nix installed
|
continue-on-error: true # Self-hosted runners already have Nix installed
|
||||||
|
|
||||||
- name: Install Attic
|
- name: Install Attic
|
||||||
|
@ -40,12 +40,12 @@ jobs:
|
||||||
cp --recursive --dereference --no-preserve=mode,ownership result public
|
cp --recursive --dereference --no-preserve=mode,ownership result public
|
||||||
|
|
||||||
- name: Upload book artifact
|
- name: Upload book artifact
|
||||||
uses: actions/upload-pages-artifact@v1.0.7
|
uses: actions/upload-pages-artifact@v2.0.0
|
||||||
with:
|
with:
|
||||||
path: public
|
path: public
|
||||||
|
|
||||||
- name: Deploy book
|
- name: Deploy book
|
||||||
uses: actions/deploy-pages@v1.2.3
|
uses: actions/deploy-pages@v3.0.1
|
||||||
|
|
||||||
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
||||||
- name: Push build artifacts
|
- name: Push build artifacts
|
||||||
|
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -17,9 +17,9 @@ jobs:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@v1
|
- uses: DeterminateSystems/nix-installer-action@v9
|
||||||
continue-on-error: true # Self-hosted runners already have Nix installed
|
continue-on-error: true # Self-hosted runners already have Nix installed
|
||||||
|
|
||||||
- name: Install Attic
|
- name: Install Attic
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
xargs attic push "ci:$ATTIC_CACHE"
|
xargs attic push "ci:$ATTIC_CACHE"
|
||||||
fi
|
fi
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@v3.0.0
|
||||||
if: runner.os == 'Linux' && github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
if: runner.os == 'Linux' && github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
|
|
Loading…
Reference in a new issue