Skip to content

Commit

Permalink
use ref: main to check out main branch
Browse files Browse the repository at this point in the history
otherwise it checks out the trigger (which is the release tag), so can't push back to it
(detached head state)
  • Loading branch information
alifeee committed Nov 11, 2023
1 parent 86881c9 commit 9cdf5ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Checkout main branch
uses: actions/checkout@v3
with:
ref: main

- name: Download artifact
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 9cdf5ee

Please sign in to comment.