Skip to content

Commit b65d0a3

Browse files
authored
GH Action: PR build/check (#678)
* Revert back to Ubuntu-only GH Action * Enhanced PR check GH Actions
1 parent 2ba2e75 commit b65d0a3

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: Build CI release
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- master
77
# paths:
88
# - 'Quelea/**'
99

10+
pull_request:
11+
branches:
12+
- master
13+
1014
jobs:
1115
release:
1216
runs-on: ubuntu-24.04
@@ -54,6 +58,7 @@ jobs:
5458
gradle -Dnightly=true -Dversionsuffix=CI-UNSTABLE clean dist
5559
5660
- name: Upload binaries to release
61+
if: ${{ github.event_name == 'push' }}
5762
uses: softprops/action-gh-release@v2
5863
with:
5964
files: Quelea/dist/standalone/*
@@ -65,3 +70,9 @@ jobs:
6570
Quelea is also distributed as a Linux snap package. To install it, make
6671
sure snap is installed then run:
6772
<pre>sudo snap install --edge quelea</pre>"
73+
74+
- name: Upload standalones as artifact of PR
75+
if: ${{ github.event_name == 'pull_request' }}
76+
uses: actions/upload-artifact@v4
77+
with:
78+
path: Quelea/dist/standalone/

0 commit comments

Comments
 (0)