1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

.github: Update workflow deps

This commit is contained in:
Zhaofeng Li 2023-12-18 14:50:33 -07:00
parent b12e485ef7
commit a8cacb0057
2 changed files with 7 additions and 7 deletions

View file

@ -16,9 +16,9 @@ jobs:
if: github.repository == 'zhaofengli/attic'
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
- name: Install Attic
@ -40,12 +40,12 @@ jobs:
cp --recursive --dereference --no-preserve=mode,ownership result public
- name: Upload book artifact
uses: actions/upload-pages-artifact@v1.0.7
uses: actions/upload-pages-artifact@v2.0.0
with:
path: public
- 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
- name: Push build artifacts

View file

@ -17,9 +17,9 @@ jobs:
contents: read
packages: write
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
- name: Install Attic
@ -57,7 +57,7 @@ jobs:
xargs attic push "ci:$ATTIC_CACHE"
fi
- 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)
with:
registry: ${{ env.REGISTRY }}