Skip to content

Merge pull request #97 from weblate/weblate-onionshare-onionshare-and… #82

Merge pull request #97 from weblate/weblate-onionshare-onionshare-and…

Merge pull request #97 from weblate/weblate-onionshare-onionshare-and… #82

Workflow file for this run

name: Publish nightly build
on:
push:
branches:
- main
jobs:
nightly:
name: Publish nightly build
runs-on: ubuntu-latest
environment: nightly
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Gradle dependency cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: Build
run: ./gradlew assembleNightlyDebug
- name: F-Droid nightly builds
uses: wardvl/[email protected]
with:
debug_keystore: ${{ secrets.DEBUG_KEYSTORE }}
fdroid_nightly_args: --archive-older 10
- name: F-Droid repo permission clean-up # https://github.com/actions/cache/issues/753
run: sudo chown -R runner:docker fdroid