Skip to content

v1.9.2

v1.9.2 #79

Workflow file for this run

name: dotnet package
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- v*
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK 7.0.100
uses: actions/[email protected]
with:
dotnet-version: 7.0.100
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Install dependencies
run: dotnet restore --nologo
- name: Build
run: msbuild YoutubeSegmentDownloader.sln -t:publish -p:Configuration=Release -p:DeployOnBuild=true -p:PublishProfile=ClickOnceProfile
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: artifact
path: bin/Release/net7.0-windows/win-x64/app.publish
retention-days: 1
deploy_setup:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: artifact
- name: Deploy files to setup branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
keep_files: true
publish_branch: setup
release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: artifact
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: NOTICE
files: |
YoutubeSegmentDownloader.exe
setup.exe