-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 996 Bytes
/
data-processor.yml
File metadata and controls
34 lines (29 loc) · 996 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
name: Create DataProcessor release
# Run workflow on every push to the master branch
on:
push:
branches: [ master ]
paths-ignore:
- 'PluginBrowser/**'
workflow_dispatch:
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: Get current date
id: date
run: echo "::set-output name=date::v$(date +'%Y-%m-%d-%H-%M-%S')"
- name: Publish DataProcessor
run: dotnet publish DataProcessor/DataProcessor.csproj -c Release -o release -p:PublishSingleFile=true --self-contained -r linux-x64 --nologo
- name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
with:
tag_name: ${{ steps.date.outputs.date }}
name: DataProcessor ${{ steps.date.outputs.date }}
files: release/DataProcessor
fail_on_unmatched_files: true