Skip to content

Release Source Code #15

Release Source Code

Release Source Code #15

Workflow file for this run

name: Release Source Code
on:
workflow_run:
workflows: ["Build and Publish"]
types:
- completed
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'v') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Upload Release Assets
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.workflow_run.head_branch }}
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}