Skip to content

Nightly Builds

Nightly Builds #6

name: Nightly Builds
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Install the .NET Core workload
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: python .\publish.py
run: python .\publish.py --version-suffix="-nightly"
- name: publish Nightly
env:
GH_TOKEN: ${{ github.token }}
run: |
$commit_ts=git show --no-patch --format=%at
gh release create -R "andyvorld/LGSTrayBattery-nightly" `
$commit_ts `
./bin/Release/Publish/*.zip