mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
some comments
This commit is contained in:
parent
41a3adfa33
commit
ecf9db20a6
@ -36,21 +36,25 @@ jobs:
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: sudo chmod -R 777 "${{ github.workspace }}"
|
||||
|
||||
# deps
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: sudo chmod 77 recreate_venv_linux.sh && sudo ./recreate_venv_linux.sh
|
||||
|
||||
# build
|
||||
- name: Rebuild
|
||||
shell: bash
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: sudo chmod 77 rebuild_linux.sh && sudo ./rebuild_linux.sh
|
||||
|
||||
# package
|
||||
- name: Package build
|
||||
shell: bash
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: sudo chmod 77 package_linux.sh && sudo ./package_linux.sh
|
||||
|
||||
# upload artifact
|
||||
- name: Upload build package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@ -60,6 +64,7 @@ jobs:
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
|
||||
# release tag
|
||||
- name: Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
@ -37,27 +37,32 @@ jobs:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
|
||||
## extra helpers/tools, these are not built inside the deps build dir
|
||||
- name: Clone third-party deps (deps/win)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: 'third-party/deps/win'
|
||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
||||
|
||||
# deps
|
||||
- name: Install dependencies
|
||||
shell: cmd
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: recreate_venv_win.bat
|
||||
|
||||
# build
|
||||
- name: Rebuild
|
||||
shell: cmd
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: rebuild_win.bat
|
||||
|
||||
# package
|
||||
- name: Package build
|
||||
shell: cmd
|
||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||
run: package_win.bat
|
||||
|
||||
# upload artifact
|
||||
- name: Upload build package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@ -67,6 +72,7 @@ jobs:
|
||||
compression-level: 9
|
||||
retention-days: 1
|
||||
|
||||
# release tag
|
||||
- name: Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
Loading…
Reference in New Issue
Block a user