mirror of
https://github.com/Mas0nShi/typoraCracker.git
synced 2023-07-10 13:41:20 +08:00
Update manual.yml
This commit is contained in:
14
.github/workflows/manual.yml
vendored
14
.github/workflows/manual.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install innoextract -y
|
||||
python3 -m pip install loguru
|
||||
|
||||
- name: Check Latest Version
|
||||
- name: Check Latest Version (use win-x64)
|
||||
id: checkVersion
|
||||
run: |
|
||||
python3 auto-analysis/check_version.py
|
||||
@@ -98,6 +98,7 @@ jobs:
|
||||
run: |
|
||||
python3 auto-analysis/patch.py
|
||||
tar -zcvf auto-analysis/win/x64/build/typoraCracker.tar.gz auto-analysis/win/x64/build/*
|
||||
tar -zcvf auto-analysis/win/x86/build/typoraCracker.tar.gz auto-analysis/win/x86/build/*
|
||||
|
||||
- name: Check release version
|
||||
id: checkReleaseVersion
|
||||
@@ -123,7 +124,7 @@ jobs:
|
||||
core.setFailed(e.message);
|
||||
}
|
||||
|
||||
- name: Upload win x64 typora.py for typoraCracker
|
||||
- name: Upload win-x64
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -133,3 +134,12 @@ jobs:
|
||||
asset_name: 'typoraCracker-${{ needs.check_version.outputs.LATEST_VERSION }}-win-x64.tar.gz'
|
||||
asset_content_type: application/x-tgz
|
||||
|
||||
- name: Upload win-x86
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/auto-analysis/win/x86/build/typoraCracker.tar.gz'
|
||||
asset_name: 'typoraCracker-${{ needs.check_version.outputs.LATEST_VERSION }}-win-x86.tar.gz'
|
||||
asset_content_type: application/x-tgz
|
||||
|
||||
Reference in New Issue
Block a user