Testing secrets

This commit is contained in:
iFargle 2023-10-04 09:42:45 +09:00
parent b5d6c7a910
commit 33c05a236f

View file

@ -15,7 +15,8 @@ jobs:
- name: "Setup Runner" - name: "Setup Runner"
run: | run: |
apk update 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 - uses: actions/checkout@v3
with: with:
sparse-checkout: | sparse-checkout: |
@ -42,11 +43,13 @@ jobs:
run: | run: |
echo "Running Nix Flake Update" echo "Running Nix Flake Update"
cd /workspace/albert/nix cd /workspace/albert/nix
nix --extra-experimental-features "nix-command flakes" \ nix --extra-experimental-features "nix-command flakes" flake update --commit-lock-file
flake update
echo "Git Diff:" echo "Git Diff:"
git diff git diff
- if: success()
run: |
echo "TEST: ${{ secrets.TEST_SECRET }}"
- if: always() - if: always()
run: rm -rf /.cache run: rm -rf /.cache
- if: always() - if: always()