don't use action for ref checkout

This commit is contained in:
Daylin Morgan 2024-07-12 09:55:23 -05:00
parent 1cfef95fc4
commit c3e90946f0
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -17,8 +17,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: flake-lock
- run: git checkout -B flake-lock
- name: Setup Git Bot
run: |
@ -40,7 +39,9 @@ jobs:
- name: Update nix flake
run: |
printf '# Flake Lock\n\n```txt\n' >> $GITHUB_STEP_SUMMARY
nix flake update --commit-lock-file 2>> $GITHUB_STEP_SUMMARY
printf '```\n' >> $GITHUB_STEP_SUMMARY
- name: Build
run: |
@ -63,9 +64,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: flake-lock
- run: git checkout -B flake-lock
# - name: Setup Git Bot
# run: |
# git --version