forked from mtoyoda/sl
-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (46 loc) · 1.47 KB
/
Copy pathbuild.yml
File metadata and controls
52 lines (46 loc) · 1.47 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
name: SL Build
on:
push:
branches:
- main
tags:
- sl-*
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-fedora:
uses: ./.github/workflows/fedora-build.yml
build-posix:
uses: ./.github/workflows/posix-build.yml
build-ubuntu:
uses: ./.github/workflows/ubuntu-build.yml
build-windows:
uses: ./.github/workflows/win-build.yml
build-pages:
uses: ./.github/workflows/site.yml
release:
name: Release
needs: [build-fedora, build-posix, build-ubuntu, build-windows]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/sl-')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download Artifacts
id: download-extension
uses: actions/download-artifact@v4
- name: List Files
run: ls -R ${{ steps.download-extension.outputs.download-path }}
- uses: softprops/action-gh-release@v2
with:
prerelease: ${{ contains(github.ref, 'rc') }}
generate_release_notes: true
fail_on_unmatched_files: true
files: |
${{ steps.download-extension.outputs.download-path }}/sl-*/sl-*.exe
${{ steps.download-extension.outputs.download-path }}/sl_*_amd64.deb/sl_*_amd64.deb
${{ steps.download-extension.outputs.download-path }}/sl_*_arm64.deb/sl_*_arm64.deb