Skip to content

Commit

Permalink
ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Dec 6, 2024
1 parent 5846c31 commit 355fdbf
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-pt22-cu121.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Build & Upload pt22-cu121 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: pt22-cu121
run: bash stage1.sh

- name: Stage 2 Assembling Repositories
shell: bash
working-directory: pt22-cu121
run: bash stage2.sh

- name: Stage 3 Compressing Package
shell: bash
working-directory: pt22-cu121
run: bash stage3.sh

- name: Upload archive to release
uses: xresloader/upload-to-github-release@v1
env:
# You don't need to configure this token. It'll be auto-set when GitHub Actions start.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "pt22-cu121/Comfy3D_WinPortable.7z*"
# Always draft before release.
draft: true
overwrite: true

0 comments on commit 355fdbf

Please sign in to comment.