-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1022 Bytes
/
dotnetcore.yml
File metadata and controls
44 lines (36 loc) · 1022 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
36
37
38
39
40
41
42
43
44
name: .NET Core
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.108
- name: Build with dotnet
run: |
cd ./EditoolsUnity/EditoolsUnity
dotnet build --configuration Release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./EditoolsUnity/EditoolsUnity/bin/Release/netstandard2.0/EditoolsUnity.dll
./EditoolsUnity/EditoolsUnity/bin/Release/netstandard2.0/EditoolsUnity.xml
- name: Release
uses: ActionwareIO/branch-push-action@action
with:
branch: prod
files: |
README.md
action.yml
./dist/index.js
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}