Skip to content

Commit

Permalink
Test version based release.
Browse files Browse the repository at this point in the history
  • Loading branch information
renelink committed Aug 14, 2024
1 parent 432751e commit cdb34ab
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
- patch
- minor
- major
releaseVersion:
description: 'Set the release version (overrides release type)'
required: false
type: string

jobs:
build:
Expand Down Expand Up @@ -50,9 +54,9 @@ jobs:
- name: Build with Gradle Wrapper
run: |
./gradlew_release ${{ inputs.releaseType }}
echo ${{ inputs.releaseVersion || inputs.releaseType }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PUSH_TOKEN}}
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.PUSH_TOKEN}}

0 comments on commit cdb34ab

Please sign in to comment.