-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (50 loc) · 1.27 KB
/
build.yml
File metadata and controls
53 lines (50 loc) · 1.27 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
47
48
49
50
51
52
53
name: Build Backstitch Launcher (All Platforms)
on:
push:
paths:
- "**"
- "!**.md"
pull_request:
paths:
- "**"
- "!**.md"
jobs:
upload-gitignore:
name: 📝 Upload gitignore template
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Upload gitignore
shell: bash
run: |
mkdir -p artifacts/
cp .gitignore.template artifacts/.gitignore.template
- name: Upload artifact
uses: actions/upload-artifact@v6
with:
include-hidden-files: true
path: artifacts/*
name: ".gitignore.template"
macos-build:
name: 🍎 Build for macOS
uses: ./.github/workflows/macos_build.yml
secrets: inherit
permissions:
contents: 'read'
id-token: 'write'
windows-build:
name: 🪟 Build for Windows
uses: ./.github/workflows/windows_build.yml
secrets: inherit
permissions:
contents: 'read'
id-token: 'write'
linux-build:
name: 🐧 Build for Linux
uses: ./.github/workflows/linux_build.yml
release:
name: 📦 Release
if: github.ref_type == 'tag'
needs: [macos-build, windows-build, linux-build, upload-gitignore]
uses: ./.github/workflows/release.yml