File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 99
1010on :
1111 workflow_dispatch :
12- push :
13- tags :
14- - ' *'
1512
1613jobs :
1714 build :
1815 name : build
1916 runs-on :
2017 ubuntu-latest
2118 permissions :
22- contents : read
19+ contents : read
2320 strategy :
2421 matrix :
2522 config :
@@ -242,6 +239,15 @@ jobs:
242239 path : ${{ env.DIST_DIR }}
243240 merge-multiple : true
244241
242+ - name : Tag release to bind tag and commit
243+ env :
244+ TAG : ${{ env.REPO_REF }}-${{ github.run_number }}
245+ run : |
246+ git config --global user.email "arduinobot@arduino.cc"
247+ git config --global user.name "ArduinoBot"
248+ git tag ${{ env.TAG }} -m "${{ env.TAG }}"
249+ git push origin ${{ env.TAG }}
250+
245251 - name : Create Github Release and upload artifacts
246252 uses : ncipollo/release-action@v1
247253 with :
You can’t perform that action at this time.
0 commit comments