-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (30 loc) · 1005 Bytes
/
Copy pathrelease.yml
File metadata and controls
35 lines (30 loc) · 1005 Bytes
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
name: Release binary to GitHub Release
on:
workflow_call:
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- name: Release production binary
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
files: |
server-linux/server-linux
server-windows/server-windows.exe
server-macos/server-macos
- name: Release test and analysis binary
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "test"
prerelease: true
files: |
server-linux/test-server-linux
server-linux/analysis-server-linux
server-windows/test-server-windows.exe
server-macos/test-server-macos