File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -42,18 +42,15 @@ jobs:
4242 name : dist
4343 path : dist
4444
45- - uses : aws-actions/configure-aws-credentials@v4
46- with :
47- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
48- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
49- aws-region : us-east-1
50-
5145 - uses : git-actions/set-user@v1
46+
5247 - run : |
53- git add dist
54- git commit -m v${{ github.event.inputs.version }}
55- git tag v${{ github.event.inputs.version }}
56- git push origin v${{ github.event.inputs.version }} main
48+ if ! git diff --exit-code; then
49+ git add dist
50+ git commit -m v${{ github.event.inputs.version }}
51+ git tag v${{ github.event.inputs.version }}
52+ git push origin v${{ github.event.inputs.version }} main
53+ fi
5754
5855 - uses : softprops/action-gh-release@v1
5956 with :
You can’t perform that action at this time.
0 commit comments