Skip to content

Commit

Permalink
build: Update CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmongard committed Oct 24, 2023
1 parent 974caad commit 5424d6c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/gradle-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ jobs:
runs-on: ubuntu-latest

steps:
# - name: Get version from commit message
# id: commitversion
# run: |
# if [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then
# commit_message="${GITHUB_EVENT_HEAD_COMMIT_MESSAGE}"
# if [[ $commit_message == release:* && $commit_message =~ ([0-9]+\.[0-9]+\.[0-9]+(-[\w\.]+)?) ]]; then
# commit_version="${BASH_REMATCH[1]}"
# informational_version="${BASH_REMATCH[0]}"
# echo "commit_version=$commit_version" >> $GITHUB_ENV
# echo "informational_version=$informational_version" >> $GITHUB_ENV
# echo "is_release=True" >> $GITHUB_ENV
# else
# echo "commit_version=1.0.0" >> $GITHUB_ENV
# echo "informational_version=1.0.0" >> $GITHUB_ENV
# echo "is_release=False" >> $GITHUB_ENV
# fi
# fi
- uses: actions/checkout@v3
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
Expand Down

0 comments on commit 5424d6c

Please sign in to comment.