This repository was archived by the owner on Dec 17, 2025. It is now read-only.
Nebula Build Cron #37193
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: Nebula Build Cron | |
| on: | |
| schedule: | |
| - cron: "*/5 * * * *" | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| name: Gradle Build and Publish | |
| env: | |
| NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | |
| NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: main | |
| - name: Setup jdk 8 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 1.8 | |
| - uses: actions/cache@v4 | |
| id: gradle-cache | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }} | |
| restore-keys: | | |
| - ${{ runner.os }}-gradle- | |
| - uses: actions/cache@v4 | |
| id: gradle-wrapper-cache | |
| with: | |
| path: ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | |
| restore-keys: | | |
| - ${{ runner.os }}-gradlewrapper- | |
| - name: Publish snapshot | |
| run: ./gradlew snapshot --debug --scan |