-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1017 Bytes
/
Copy pathrelease.yml
File metadata and controls
46 lines (38 loc) · 1017 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
45
46
name: Release
on:
workflow_dispatch:
push:
branches: [main]
paths:
- "everest.yaml"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Everest stripped lib
uses: robinraju/release-downloader@v1.5
with:
repository: EverestAPI/Everest
latest: true
fileName: lib-stripped.zip
- name: Extract lib-stripped.zip
run: unzip lib-stripped.zip
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build with .NET Core
run: dotnet build --configuration Debug --no-restore
env:
CELESTEPREFIX: ${{ github.workspace }}/lib-stripped
- name: Upload ZIP
uses: actions/upload-artifact@v3
with:
name: PRPreview
path: |
bin
everest.yaml
!bin/Debug