-
Notifications
You must be signed in to change notification settings - Fork 311
40 lines (36 loc) · 1.27 KB
/
build-update-minor.yml
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
name: Build Minor Update
on:
push:
branches: ['BRANCH*']
paths: ['ganttproject-builder/BUILD-HISTORY-MINOR']
env:
MAJOR_VERSION: 3.3
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
shell: bash
run: |
git submodule sync --recursive
git submodule update --init --force --recursive --depth=1
- uses: actions/setup-java@v3
with:
distribution: 'liberica'
java-version: 17.0.9
java-package: jdk+fx
cache: 'gradle'
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
- name: Build minor update
run: |
build-bin/package-update.sh
cd build/distributions
for f in *; do
gsutil cp $f gs://dl.ganttproject.biz/updates/ && gsutil acl ch -u AllUsers:R gs://dl.ganttproject.biz/updates/$f;
done;