mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-04 16:10:08 +00:00
Move crowdin strings upload from AppVeyor to Github Actions
This commit is contained in:
14
appveyor.yml
14
appveyor.yml
@@ -6,9 +6,6 @@ image: Visual Studio 2019
|
||||
configuration: Release
|
||||
clone_depth: 10
|
||||
environment:
|
||||
CROWDIN_API_KEY:
|
||||
secure: oGuZaQo2z5/JkEYaKrD9Ing+TgwZ3qQVf+9Jdz73Fephy04z5rWPGCCtkjaMLTcY
|
||||
CROWDIN_PROJECT_IDENTIFIER: archisteamfarm
|
||||
DOTNET_CHANNEL: 3.1
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_INSTALL_DIR: C:\Program Files\dotnet
|
||||
@@ -267,17 +264,6 @@ after_test:
|
||||
|
||||
|
||||
Get-Job | Receive-Job -Wait -AutoRemoveJob
|
||||
|
||||
|
||||
if (!($env:APPVEYOR_PULL_REQUEST_NUMBER) -and ($env:APPVEYOR_REPO_BRANCH -eq 'master') -and ($env:APPVEYOR_REPO_TAG -eq 'false') -and (Test-Path 'crowdin.yml' -PathType Leaf) -and (Test-Path 'tools\ArchiCrowdin\crowdin_identity_example.yml' -PathType Leaf) -and (Test-Path 'tools\ArchiCrowdin\archi.ps1' -PathType Leaf)) {
|
||||
(Get-Content 'tools\ArchiCrowdin\crowdin_identity_example.yml').Replace('CROWDIN_API_KEY', "$env:CROWDIN_API_KEY").Replace('CROWDIN_PROJECT_IDENTIFIER', "$env:CROWDIN_PROJECT_IDENTIFIER") | Set-Content 'tools\ArchiCrowdin\crowdin_identity.yml'
|
||||
|
||||
try {
|
||||
& tools\ArchiCrowdin\archi.ps1 -u
|
||||
} finally {
|
||||
Remove-Item 'tools\ArchiCrowdin\crowdin_identity.yml'
|
||||
}
|
||||
}
|
||||
deploy: off
|
||||
notifications:
|
||||
- provider: Webhook
|
||||
|
||||
Reference in New Issue
Block a user