We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec03cfa commit b970e20Copy full SHA for b970e20
.github/workflows/build.yml
@@ -41,10 +41,13 @@ jobs:
41
- name: Create Tag
42
if: env.create == '1'
43
run: |
44
- git config --global user.name "${GITHUB_ACTOR}"
45
- git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
46
- git tag -a ${{ env.version }} -m "Release ${{ env.version }}"
+ git config --global user.name "github-actions[bot]"
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
+ git add .
47
+ git commit -m "Release ${{ env.version }}" || echo "No changes"
48
+ git tag -a ${{ env.version }} -m "Release ${{ env.version }}" || echo "Tag already exists"
49
git push origin ${{ env.version }} || echo "Tag already exists"
50
+ git push origin master || echo "No changes"
51
env:
52
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53
0 commit comments