-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.02 KB
/
ci.yml
File metadata and controls
46 lines (38 loc) · 1.02 KB
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
43
44
45
46
name: Continuous Integration
on:
push:
branches:
- main
paths:
- '**.py'
- 'images/**'
- '.github/**/**'
- 'requirements.txt'
#on: [workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Requirements
uses: ./.github/actions/install-requirements
- name: Prepare Icons
uses: ./.github/actions/prepare-icons
- name: Build Application
uses: ./.github/actions/build-app
with:
python-version: '3.10'
- name: Upload Artifacts
uses: ./.github/actions/upload-artifacts
with:
artifact-name: '${{ runner.os }}-executable'
artifact-path: dist/*
- name: Save cache artifacts
id: "cached-artifacts"
uses: actions/cache/save@v4
with:
path: dist/*
key: '${{ runner.os }}-executable-${{ github.sha }}'