Skip to content

Commit

Permalink
Merge pull request #43 from saschpe/actions-checkout-ref
Browse files Browse the repository at this point in the history
GitHub Actions: Checkout branch instead of SHA
  • Loading branch information
saschpe authored Mar 23, 2024
2 parents ba02c82 + e5b85ba commit 4b2a19d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Main CI
on: [push]
on: [ push ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -22,6 +22,8 @@ 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 @@ -52,6 +54,8 @@ jobs:
SONATYPE_GPG_KEY_PASSWORD: ${{ secrets.SONATYPE_GPG_KEY_PASSWORD }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 4b2a19d

Please sign in to comment.