mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2025-01-14 12:41:45 +00:00
26 lines
527 B
YAML
26 lines
527 B
YAML
name: Release
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Build"]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Download artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: ProxySwitcher
|
|
|
|
- name: Create release
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
gh release create "${{ github.event.workflow_run.head_ref }}" \
|
|
--title "Release ${{ github.event.workflow_run.head_ref }}" \
|
|
ProxySwitcher
|