-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 940 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Package Application
uses: JackMcKew/pyinstaller-action-windows@main
- name: release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: PS EBP Connector ${{ github.ref }}
tag_name: ${{ github.ref }}
body: Release ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ github.token }}
- name: upload windows artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: src/dist/windows/connector.exe
asset_name: ps_ebp_connector.exe
asset_content_type: application/exe