-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (35 loc) · 1.09 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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: bash
working-directory: builder
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: "builder/ComfyUI_Windows_portable_cu124.7z*"
# always draft before release
draft: true
overwrite: true