Skip to content

Commit

Permalink
更正变量名
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Nov 1, 2024
1 parent 8494eba commit ec03f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Create Zip
run: |
Compress-Archive -Path gui,res,AUTO_MAA.py,Updater.py,package.py,dist/AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip
Compress-Archive -Path dist/Updater.exe -DestinationPath Updater_${{ env.AUTO_MAA_version }}.zip
Compress-Archive -Path gui,dist/Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip
- name: Upload AUTO_MAA Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Check if release exists
id: check_if_release_exists
run: |
release_id=$(gh release view $(head -n 1 upd.txt) --json id --jq .id || true)
release_id=$(gh release view $(head -n 1 update_info.txt) --json id --jq .id || true)
if [[ -z $release_id ]]; then
echo "release_exists=false" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit ec03f2b

Please sign in to comment.