Skip to content

Commit

Permalink
Github: Checkout main branch instead of ref on publish job
Browse files Browse the repository at this point in the history
To ensure the scripts/publish works as intended.
  • Loading branch information
saschpe committed May 23, 2024
1 parent 0206999 commit 34a91ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -55,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
ref: refs/heads/main
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 34a91ce

Please sign in to comment.