Label checker fixes #5
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 | |
cd ../.. | |
cp main/Quelea/dist/missinglabels.js doc/lang/ | |
cd doc | |
git add lang/missinglabels.js | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git commit -m "Update missing labels file" | |
git push |