Compare commits

..

3 Commits

Author SHA1 Message Date
John Wesley Walker III
22e9f059b5
Update update-main-version.yml 2024-04-25 14:56:52 +02:00
John Wesley Walker III
05c72ac06f
Update update-main-version.yml 2024-04-25 14:54:58 +02:00
John Wesley Walker III
e7ec645f81
Update test.yml to fix update-main-version.yml 2024-04-25 14:41:41 +02:00
3 changed files with 7 additions and 8 deletions

View File

@ -37,7 +37,7 @@ jobs:
steps:
# Clone this repo
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v3
# Basic checkout
- name: Checkout basic

View File

@ -21,14 +21,14 @@ jobs:
steps:
# Note this update workflow can also be used as a rollback tool.
# For that reason, it's best to pin `actions/checkout` to a known, stable version
# (typically, about two releases back).
- uses: actions/checkout@v4.1.1
# (typically, the previous major version -- see https://github.com/actions/checkout/pull/1705).
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Git config
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name github-actions
git config user.email github-actions@github.com
- name: Tag new target
run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }}
- name: Push new tag

View File

@ -279,9 +279,8 @@ jobs:
- uses: actions/checkout@v4
- run: |
date > generated.txt
# Note: the following account information will not work on GHES
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "generated"
git push