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 }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: sudo chmod -R 777 "${{ github.workspace }}"
|
run: sudo chmod -R 777 "${{ github.workspace }}"
|
||||||
|
|
||||||
|
# deps
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: sudo chmod 77 recreate_venv_linux.sh && sudo ./recreate_venv_linux.sh
|
run: sudo chmod 77 recreate_venv_linux.sh && sudo ./recreate_venv_linux.sh
|
||||||
|
|
||||||
|
# build
|
||||||
- name: Rebuild
|
- name: Rebuild
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: sudo chmod 77 rebuild_linux.sh && sudo ./rebuild_linux.sh
|
run: sudo chmod 77 rebuild_linux.sh && sudo ./rebuild_linux.sh
|
||||||
|
|
||||||
|
# package
|
||||||
- name: Package build
|
- name: Package build
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: sudo chmod 77 package_linux.sh && sudo ./package_linux.sh
|
run: sudo chmod 77 package_linux.sh && sudo ./package_linux.sh
|
||||||
|
|
||||||
|
# upload artifact
|
||||||
- name: Upload build package
|
- name: Upload build package
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -60,6 +64,7 @@ jobs:
|
|||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
# release tag
|
||||||
- name: Release
|
- name: Release
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
@ -37,27 +37,32 @@ jobs:
|
|||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
## extra helpers/tools, these are not built inside the deps build dir
|
||||||
- name: Clone third-party deps (deps/win)
|
- name: Clone third-party deps (deps/win)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: 'third-party/deps/win'
|
ref: 'third-party/deps/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
||||||
|
|
||||||
|
# deps
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: recreate_venv_win.bat
|
run: recreate_venv_win.bat
|
||||||
|
|
||||||
|
# build
|
||||||
- name: Rebuild
|
- name: Rebuild
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: rebuild_win.bat
|
run: rebuild_win.bat
|
||||||
|
|
||||||
|
# package
|
||||||
- name: Package build
|
- name: Package build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
|
||||||
run: package_win.bat
|
run: package_win.bat
|
||||||
|
|
||||||
|
# upload artifact
|
||||||
- name: Upload build package
|
- name: Upload build package
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -67,6 +72,7 @@ jobs:
|
|||||||
compression-level: 9
|
compression-level: 9
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
# release tag
|
||||||
- name: Release
|
- name: Release
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user