Skip to content

Commit

Permalink
Attempt release note drafter AIO action
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Apr 11, 2021
1 parent 5b4adca commit cc97231
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/pyinstaller-windows.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
name: Windows PyInstaller Builds
name: Windows PyInstaller Builds and Release Notes

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'

jobs:
build:

runs-on: ubuntu-latest

steps:
- id: release_drafter
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2

- name: Package Application
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: .

- uses: actions/upload-artifact@v2
- name: Upload binaries as artifact
uses: actions/upload-artifact@v2
with:
name: PinetimeFlasher-for-Windows
path: ./dist/windows
path: ./dist/windows

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./dist/windows/PinetimeFlasher.exe
asset_name: PinetimeFlasher.exe
tag: ${{ steps.release_drafter.outputs.tag_name }}
overwrite: true

0 comments on commit cc97231

Please sign in to comment.