diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index 96331685..49855f84 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -15,7 +15,8 @@ jobs: - name: "Setup Runner" run: | apk update - apk add git nodejs nix --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ + apk add git nodejs nix \ + --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ - uses: actions/checkout@v3 with: sparse-checkout: | @@ -42,11 +43,13 @@ jobs: run: | echo "Running Nix Flake Update" cd /workspace/albert/nix - nix --extra-experimental-features "nix-command flakes" \ - flake update + nix --extra-experimental-features "nix-command flakes" flake update --commit-lock-file echo "Git Diff:" git diff + - if: success() + run: | + echo "TEST: ${{ secrets.TEST_SECRET }}" - if: always() run: rm -rf /.cache - if: always()