mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 12:44:16 +01:00
Update main.yml
This commit is contained in:
parent
2cebe780bd
commit
b18cb3a58a
1 changed files with 16 additions and 7 deletions
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue