Commit 4d113a7b authored by mercury233's avatar mercury233

add publish

parent a6937586
...@@ -264,3 +264,27 @@ jobs: ...@@ -264,3 +264,27 @@ jobs:
name: YGOPro-Server-${{ matrix.name }} name: YGOPro-Server-${{ matrix.name }}
path: | path: |
bin/release/ygopro bin/release/ygopro
publish:
needs: [build-windows]
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
pattern: YGOPro-Server-windows-*
merge-multiple: true
- name: GitHub Release
uses: salix5/action-automatic-releases@node20
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "server-latest"
prerelease: true
title: "Development Build"
files: |
x86/ygopro.exe
x64/ygopro.exe
x64/AI.Server.exe
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment