Build & Upload Package #11
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 | |
run: bash stage1.sh | |
- name: Stage 2 Assembling Repositories | |
shell: bash | |
run: bash stage2.sh | |
- name: Stage 3 Compressing Package | |
shell: bash | |
run: bash stage3.sh | |
- 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: "ComfyUI_Windows_portable_cu121.7z*" | |
# always draft before release | |
draft: true | |
overwrite: true |