forked from Samsung/Tizen.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 986 Bytes
/
release-workload.yml
File metadata and controls
38 lines (33 loc) · 986 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
name: Release Workload
on:
workflow_dispatch:
inputs:
prerelease:
description: 'Pre-release tag name'
required: true
isStableRelease:
description: 'Stable release?'
required: false
type: boolean
default: false
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Wix toolset
run: sudo apt-get install -y wixl
- name: Build
env:
PRERELEASE_TAG: ${{ github.event.inputs.prerelease }}
IS_STABLE_RELEASE_TAG: ${{ fromJson(github.event.inputs.isStableRelease) }}
run: make install -d
working-directory: ./workload
- name: Push packages to NuGet.org
run: |
dotnet nuget push ./workload/out/nuget-unsigned/Samsung.*.nupkg \
-k ${{ secrets.NUGET_APIKEY }} \
-s https://api.nuget.org/v3/index.json \
-t 3000