Update main.yml

This commit is contained in:
goaaats 2021-04-10 03:33:24 +02:00 committed by GitHub
parent 2cebe780bd
commit b18cb3a58a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,7 @@ jobs:
with: with:
name: dalamud-artifact name: dalamud-artifact
path: .\scratch path: .\scratch
- name: Generate dalamud-distrib version file - name: Generate dalamud-distrib version file
shell: powershell shell: powershell
run: | run: |
@ -70,11 +71,19 @@ jobs:
$versionData.AssemblyVersion = $newVersion $versionData.AssemblyVersion = $newVersion
$versionData | ConvertTo-Json -Compress | Out-File .\stg\version $versionData | ConvertTo-Json -Compress | Out-File .\stg\version
} }
- name: Commit changes - name: Commit changes
uses: EndBug/add-and-commit@v7 env:
with: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
add: --all GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
author_name: GitHub Action run: |
author_email: github-actions[bot]@users.noreply.github.com eval "$(ssh-agent -s)"
message: Update staging ssh-add - <<< "${DEPLOY_KEY}"
branch: main
git config --global user.name "Actions User"
git config --global user.email "actions@github.com"
git add .
git commit -m "[CI] Update staging"
git push origin master