-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1018 Bytes
/
build.yml
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
name: Check-Build
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ['7.0.x' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Restore and build (publish)
run: dotnet publish --configuration Release /p:PublishProfile=Caramel\Properties\PublishProfiles\FolderProfile.pubxml
- name: Pack published files
run: |
cd Caramel/bin/Release/net7.0/win10-x64/publish
7z a plugin_Caramel.zip *
- name: Upload plugin artifact
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "plugin_Caramel Build Artifact"
files: |
./Caramel/bin/Release/net7.0/win10-x64/publish/plugin_Caramel.zip
./external/manifest.json