Translations update from Hosted Weblate #817
Workflow file for this run
This file contains hidden or 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: Nightly | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'README.md' | |
| pull_request: | |
| paths-ignore: | |
| - 'README.md' | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: dummy | |
| default: dummy | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| update-nightly-tag: | |
| name: Update nightly release tag | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Move nightly tag to head for nightly release | |
| run: git tag -f nightly && git push origin nightly -f | |
| build-nightly-artifact: | |
| name: Nightly Artifact Build | |
| runs-on: ubuntu-latest | |
| needs: [update-nightly-tag] | |
| if: | | |
| always() && | |
| (needs.update-nightly-tag.result == 'success' || | |
| needs.update-nightly-tag.result == 'skipped') | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: show java version | |
| run: type -a java;java -version | |
| - name: Run build | |
| run: id;pwd;ls -al;./trifa_desktop/app/src/main/java/do_compile.sh | |
| - name: make release file | |
| run: id;pwd;ls -al;./trifa_desktop/app/src/main/java/__make_release.sh | |
| - name: Rename artifact for nightly upload | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| run: | | |
| cp ./trifa_desktop/app/src/main/java/releases/trifa_desktop_1.0.xx.zip trifa_nightly_desktop.zip | |
| - name: Upload appimage | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: trifa_nightly_desktop.zip | |
| path: trifa_nightly_desktop.zip | |
| - name: Upload to nightly release | |
| uses: ncipollo/release-action@v1 | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| with: | |
| allowUpdates: true | |
| tag: nightly | |
| omitBodyDuringUpdate: true | |
| omitNameDuringUpdate: true | |
| prerelease: true | |
| replacesArtifacts: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| artifacts: "trifa_nightly_desktop.zip" | |