Build & Upload Package #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build & Upload Package" | |
on: | |
workflow_dispatch: | |
jobs: | |
build_upload: | |
permissions: | |
contents: "write" | |
packages: "write" | |
pull-requests: "read" | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Stage 1 Gathering Dependencies | |
shell: bash | |
working-directory: builder | |
run: bash stage1.sh | |
- name: Stage 2 Assembling Repositories | |
shell: bash | |
working-directory: builder | |
run: bash stage2.sh | |
- name: Stage 3 Compressing Package | |
shell: cmd | |
working-directory: builder | |
run: stage3.bat | |
- name: Upload archive to release | |
uses: xresloader/upload-to-github-release@v1 | |
env: | |
# This is a always-on token when you run GitHub Actions | |
# You don't need to cofigure it | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
file: "builder/ComfyUI_Windows_portable_cu124.7z*" | |
# always draft before release | |
draft: true | |
overwrite: true |