-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move commit-development version to a different job (#1263)
- Loading branch information
1 parent
78b911d
commit 1f32dc4
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,9 @@ on: | |
|
||
jobs: | ||
release: | ||
name: Deploy | ||
runs-on: ubuntu-latest | ||
outputs: | ||
deployment: ${{ steps.deploy.outputs.exit_code }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -45,8 +46,17 @@ jobs: | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }} | ||
|
||
commit-development-version: | ||
runs-on: ubuntu-latest | ||
needs: [ release ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 5 | ||
persist-credentials: false | ||
- name: Commit next development version | ||
if: steps.deploy.outputs.exit_code == 0 | ||
if: needs.release.outputs.deployment == 0 | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "Gluon Bot" | ||
|