Skip to content

Commit

Permalink
Bump Github Checkout to v4 (#78)
Browse files Browse the repository at this point in the history
Checkout v1 and v2 were deprecated [0], so we should use a newer version :)

[0]: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
  • Loading branch information
luoe authored Oct 9, 2024
1 parent f22b162 commit a610d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source-code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup (NIXPKGS_COMMIT)
run: echo "NIXPKGS_COMMIT=$(curl -L 'https://channels.nixos.org/nixos-unstable/git-revision')" >> $GITHUB_ENV
- name: Install Nix
Expand All @@ -18,7 +18,7 @@ jobs:
nix-build --argstr date "$(date --date=@$(git log -1 --pretty=%ct) +%F)"
mkdir anfiheft && cp result/* .BUILDINFO anfiheft/
- name: Upload the Anfiheft (GitHub artifacts)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: anfiheft
path: anfiheft/
Expand Down

0 comments on commit a610d76

Please sign in to comment.