1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2025-03-15 13:07:49 +00:00

.github: Update deps

This commit is contained in:
Zhaofeng Li 2024-09-11 09:59:49 -04:00
parent b45885e67b
commit c3618a20e9
3 changed files with 16 additions and 11 deletions

View file

@ -16,9 +16,9 @@ jobs:
if: github.repository == 'zhaofengli/attic' if: github.repository == 'zhaofengli/attic'
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4.1.7
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v14
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@v2.0.0 uses: actions/upload-pages-artifact@v3.0.1
with: with:
path: public path: public
- name: Deploy book - name: Deploy book
uses: actions/deploy-pages@v3.0.1 uses: actions/deploy-pages@v4.0.5
# 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

View file

@ -18,14 +18,14 @@ jobs:
- "default" - "default"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4.1.7
- name: Install current Bash on macOS - name: Install current Bash on macOS
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
command -v brew && brew install bash || true command -v brew && brew install bash || true
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v14
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
@ -83,14 +83,14 @@ jobs:
contents: read contents: read
packages: write packages: write
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4.1.7
- name: Install current Bash on macOS - name: Install current Bash on macOS
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
command -v brew && brew install bash || true command -v brew && brew install bash || true
- uses: DeterminateSystems/nix-installer-action@v9 - uses: DeterminateSystems/nix-installer-action@v14
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
@ -120,7 +120,7 @@ jobs:
echo system=$system >>$GITHUB_ENV echo system=$system >>$GITHUB_ENV
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@v3.0.0 uses: docker/login-action@v3.3.0
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}

View file

@ -10,9 +10,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4.1.7
- uses: DeterminateSystems/nix-installer-action@v9 - name: Install current Bash on macOS
if: runner.os == 'macOS'
run: |
command -v brew && brew install bash || true
- uses: DeterminateSystems/nix-installer-action@v14
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