Skip to content

Release Workload

Release Workload #100

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-20.04
steps:
- uses: actions/checkout@v2
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 msi -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