diff --git a/.github/workflows/manaul.yml b/.github/workflows/manaul.yml index 1684535..d4d0085 100644 --- a/.github/workflows/manaul.yml +++ b/.github/workflows/manaul.yml @@ -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 @@ -85,8 +84,7 @@ 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 @@ -94,8 +92,8 @@ jobs: 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 @@ -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 @@ -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 @@ -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