Add label updating file #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update missing labels | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
update-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java | |
run: | | |
curl -O https://cdn.azul.com/zulu/bin/zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb | |
sudo apt-get -y install ./zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb | |
- name: Checkout main source | |
uses: actions/checkout@v4 | |
with: | |
path: 'main' | |
- name: Checkout doc source | |
uses: actions/checkout@v4 | |
with: | |
repository: 'quelea-projection/quelea-projection.github.io' | |
path: 'doc' | |
- name: Build | |
run: | | |
cd main/Quelea | |
chmod +x gradlew | |
chmod +x build-install.sh | |
./gradlew -Dnightly=true -Dversionsuffix=CI-UNSTABLE labelcheck | |
echo "Going up" | |
cd ../.. | |
echo "Copying" | |
cp main/Quelea/dist/missinglabels.js doc/lang/ | |
echo "Done" |