mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-05 13:14:45 +00:00
Update main_matrix.yml
This commit is contained in:
parent
dd720f2fe6
commit
ea90e4d2de
9
.github/workflows/main_matrix.yml
vendored
9
.github/workflows/main_matrix.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- "version.properties"
|
||||||
|
|
||||||
# Note: This is different from "pull_request". Need to specify ref when doing checkouts.
|
# Note: This is different from "pull_request". Need to specify ref when doing checkouts.
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
@ -480,10 +481,10 @@ jobs:
|
|||||||
- name: Commit updated version.py
|
- name: Commit updated version.py
|
||||||
id: commit_updated
|
id: commit_updated
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'github-actions'
|
git config --global user.name 'thebentern'
|
||||||
git config --global user.email 'bot@noreply.github.com'
|
git config --global user.email 'benmmeadors@gmail.com'
|
||||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
git remote set-url origin https://x-access-token:${{ secrets.ARTIFACTS_TOKEN }}@github.com/${{ github.repository }}
|
||||||
git add version.properties
|
git add version.properties
|
||||||
git commit -m "bump version" && git push || echo "No changes to commit"
|
git commit -m "Bump version" && git push || echo "No changes to commit"
|
||||||
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
|
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user