-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 854 Bytes
/
main.yml
File metadata and controls
42 lines (33 loc) · 854 Bytes
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
40
41
42
name: Create EXE
on:
release:
types: [published]
jobs:
build:
runs-on: windows-latest
permissions: write-all
steps:
- name: Set up Repository
uses: actions/checkout@v4
with:
ref: main
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: ilammy/msvc-dev-cmd@v1.4.1
- name: Setup the App
run: |
.\setup.bat
- name: Build Exe
run: |
.\build_exe.bat
- name: Create a ZIP file
run: Compress-Archive -Path dist/compass/* -Destination compass.zip
- name: Update recent release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "compass.zip"
tags: true