-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: testing skip release env variable 3 [skip tests]
- Loading branch information
1 parent
8d62945
commit b10aba8
Showing
1 changed file
with
20 additions
and
20 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 |
---|---|---|
|
@@ -90,24 +90,24 @@ jobs: | |
run: sed -i 's/@version \".*\"/@version "${{ env.RELEASE_VERSION }}"/g' mix.exs | ||
working-directory: Elixir/Konex | ||
|
||
# # testing, working but we need to prevent next run. | ||
# # adding [skip ci] to commit comment we can skip the new CI run onf the workflow | ||
# # not working on multiple commits from pull request | ||
# - name: Commit And Push version | ||
# if: ${{ env.SKIP_RELEASE == 'false' && env.COMMIT_PUSH == 'true' }} | ||
# uses: github-actions-x/[email protected] | ||
# with: | ||
# github-token: ${{ env.GITHUB_TOKEN }} | ||
# push-branch: main | ||
# commit-message: '[skip release] [skip ci] Upgrade version to ${{ env.RELEASE_VERSION }}' | ||
# force-add: "true" | ||
# files: Elixir/Konex/mix.exs docs/CHANGELOG.md | ||
# name: Release Bot | ||
# email: [email protected] | ||
# testing, working but we need to prevent next run. | ||
# adding [skip ci] to commit comment we can skip the new CI run onf the workflow | ||
# not working on multiple commits from pull request | ||
- name: Commit And Push version | ||
if: ${{ env.SKIP_RELEASE == 'false' && env.COMMIT_PUSH == 'true' }} | ||
uses: github-actions-x/[email protected] | ||
with: | ||
github-token: ${{ env.GITHUB_TOKEN }} | ||
push-branch: main | ||
commit-message: '[skip release] [skip ci] Upgrade version to ${{ env.RELEASE_VERSION }}' | ||
force-add: "true" | ||
files: Elixir/Konex/mix.exs docs/CHANGELOG.md | ||
name: Release Bot | ||
email: [email protected] | ||
|
||
# - name: Publish to HEX | ||
# if: ${{ env.SKIP_RELEASE == 'false' && env.PUBLISH_ARTIFACT == 'true' }} | ||
# run: mix hex.publish --replace --yes | ||
# working-directory: Elixir/Konex | ||
# env: | ||
# HEX_API_KEY: ${{ secrets.HEX_API_KEY }} | ||
- name: Publish to HEX | ||
if: ${{ env.SKIP_RELEASE == 'false' && env.PUBLISH_ARTIFACT == 'true' }} | ||
run: mix hex.publish --replace --yes | ||
working-directory: Elixir/Konex | ||
env: | ||
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} |