AmagnoVirtualPrinter/.github/workflows/release.yml
2023-05-30 13:20:50 +02:00

32 lines
656 B
YAML

name: Release
on:
push:
tags:
- '*'
jobs:
call-build:
uses: ./.github/workflows/build.yml
build:
runs-on: windows-latest
needs: call-build
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: artefacts
- name: Create msi from PowerShell Script
run: |
"$Env:GITHUB_WORKSPACE\create_msi.ps1"
- name: Create Release
uses: ncipollo/release-action@v1.7.3
with:
artifacts: ./AmagnoPrinterInstaller.msi
token: ${{ secrets.GITHUB_TOKEN }}