Skip to content

Commit

Permalink
Update next.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Isaac authored Nov 19, 2024
1 parent 0b235a1 commit b9fc714
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ jobs:
- name: Get verCode from apk
run: |
java -jar fgo-vce.jar -s decrypt/stringliteral.json -av ${{ env.VERSION }}
if (Test-Path "${{ matrix.region }}.json") Remove-Item "${{ matrix.region }}.json" -Force
Rename-Item -Path "app.json" -NewName "${{ matrix.region }}.json"
$regionFile = "${{ matrix.region }}.json"
if (Test-Path $regionFile) {
Remove-Item $regionFile -Force
}
Rename-Item -Path "app.json" -NewName $regionFile
- name: Upload app.json
uses: EndBug/add-and-commit@v9
with:
Expand Down

0 comments on commit b9fc714

Please sign in to comment.