Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neavo committed Aug 10, 2024
1 parent 28e87d3 commit a510a3b
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/manaul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ jobs:
- name: Compress Archive
shell: cmd
run: |
# 压缩dist目录下的所有文件,不包括dist目录本身
.\resource\7za.exe a -y -bt -mx5 -slp KeywordGacha_${{ steps.compress_files.outputs.timestamp }}.zip .\dist\*
.\resource\7za.exe a -y -bt -mx5 -slp KeywordGacha_${{ steps.create_timestamp.outputs.timestamp }}.zip .\dist\*
- name: Change To NV Version
shell: cmd
Expand All @@ -85,17 +84,16 @@ jobs:
- name: Compress Archive NV
shell: cmd
run: |
# 压缩dist目录下的所有文件,不包括dist目录本身
.\resource\7za.exe a -y -bt -mx5 -slp -v2000M KeywordGacha_NV_${{ steps.compress_files.outputs.timestamp }}.zip .\dist\*
.\resource\7za.exe a -y -bt -mx5 -slp -v2000M KeywordGacha_NV_${{ steps.create_timestamp.outputs.timestamp }}.zip .\dist\*
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.KEYWORDGACHA_TOKEN }}
with:
tag_name: MANAUL_BUILD_${{ steps.compress_files.outputs.timestamp }}
release_name: KeywordGacha_${{ steps.compress_files.outputs.timestamp }}
tag_name: MANAUL_BUILD_${{ steps.create_timestamp.outputs.timestamp }}
release_name: KeywordGacha_${{ steps.create_timestamp.outputs.timestamp }}
draft: true
prerelease: false

Expand All @@ -105,8 +103,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.KEYWORDGACHA_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./KeywordGacha_${{ steps.compress_files.outputs.timestamp }}.zip
asset_name: KeywordGacha_${{ steps.compress_files.outputs.timestamp }}.zip
asset_path: ./KeywordGacha_${{ steps.create_timestamp.outputs.timestamp }}.zip
asset_name: KeywordGacha_${{ steps.create_timestamp.outputs.timestamp }}.zip
asset_content_type: application/zip

- name: Upload Release NV 001
Expand All @@ -115,8 +113,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.KEYWORDGACHA_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./KeywordGacha_NV_${{ steps.compress_files.outputs.timestamp }}.zip.001
asset_name: KeywordGacha_NV_${{ steps.compress_files.outputs.timestamp }}.zip.001
asset_path: ./KeywordGacha_NV_${{ steps.create_timestamp.outputs.timestamp }}.zip.001
asset_name: KeywordGacha_NV_${{ steps.create_timestamp.outputs.timestamp }}.zip.001
asset_content_type: application/zip

- name: Upload Release NV 002
Expand All @@ -125,6 +123,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.KEYWORDGACHA_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./KeywordGacha_NV_${{ steps.compress_files.outputs.timestamp }}.zip.002
asset_name: KeywordGacha_NV_${{ steps.compress_files.outputs.timestamp }}.zip.002
asset_path: ./KeywordGacha_NV_${{ steps.create_timestamp.outputs.timestamp }}.zip.002
asset_name: KeywordGacha_NV_${{ steps.create_timestamp.outputs.timestamp }}.zip.002
asset_content_type: application/zip

0 comments on commit a510a3b

Please sign in to comment.