33 lines
678 B
YAML
33 lines
678 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
call-build:
|
|
uses: ./.github/workflows/build.yml
|
|
|
|
release:
|
|
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: artifacts
|
|
path: Files
|
|
|
|
- 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 }}
|