Skip to content

Commit

Permalink
use commit hash from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperalani authored Jan 15, 2024
1 parent 421d66a commit df3a9e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
needs: [tag_and_release, tests]
name: update mod version files
runs-on: ubuntu-latest
outputs:
commit_hash: ${{ steps.auto-commit-action.outputs.commit_hash }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -77,6 +79,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: '${{ needs.update_mod_version_files.outputs.commit_hash }}'
- name: Gradle Build Action
uses: gradle/[email protected]
with:
Expand Down

0 comments on commit df3a9e8

Please sign in to comment.