Create main.yml
Automate creation of server and client zip files
This commit is contained in:
parent
df150b531d
commit
ff5a6f3fe8
28
.github/workflows/main.yml
vendored
Normal file
28
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Create Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Archive Server
|
||||||
|
uses: thedoctor0/zip-release@master
|
||||||
|
with:
|
||||||
|
type: 'zip'
|
||||||
|
path: "server"
|
||||||
|
filename: 'server.zip'
|
||||||
|
- name: Archive Client
|
||||||
|
uses: thedoctor0/zip-release@master
|
||||||
|
with:
|
||||||
|
type: 'zip'
|
||||||
|
path: "client"
|
||||||
|
filename: 'client.zip'
|
||||||
|
- name: Release Archive
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
allowUpdates: true
|
||||||
|
artifacts: "server.zip,client.zip"
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Loading…
x
Reference in New Issue
Block a user