add git config

This commit is contained in:
“Carson 2020-10-12 17:47:33 -04:00
parent 4985038d94
commit af4db2d6de

View file

@ -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