add git config
This commit is contained in:
parent
4985038d94
commit
af4db2d6de
1 changed files with 3 additions and 1 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -25,8 +25,10 @@ jobs:
|
||||||
run: sudo apt install nuget mono-complete make
|
run: sudo apt install nuget mono-complete make
|
||||||
- name: Update version number, and commit
|
- name: Update version number, and commit
|
||||||
run: |
|
run: |
|
||||||
|
git config --global user.name "Github Actions"
|
||||||
|
git config --global user.email "dyc3@users.noreply.github.com"
|
||||||
sed -ri "s/Version\(\"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\"\)/Version\(\"${{ github.event.inputs.version }}\"\)/g" AssemblyInfo.cs
|
sed -ri "s/Version\(\"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\"\)/Version\(\"${{ github.event.inputs.version }}\"\)/g" AssemblyInfo.cs
|
||||||
git -c user.name="Github Actions" -c user.email="dyc3@users.noreply.github.com" commit -m "Update version" AssemblyInfo.cs
|
git commit -m "Update version" AssemblyInfo.cs
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
nuget restore SteamAuth/SteamAuth/SteamAuth.sln
|
nuget restore SteamAuth/SteamAuth/SteamAuth.sln
|
||||||
|
|
Loading…
Reference in a new issue