m159 release #367
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: Build Release Artifacts | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'releases/**' | |
jobs: | |
build-artifacts: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: gradle | |
- name: Perform gradle build | |
run: | | |
./gradlew firebasePublish | |
- name: Upload m2 repo | |
uses: actions/[email protected] | |
with: | |
name: m2repository | |
path: build/m2repository/ | |
retention-days: 15 | |
- name: Upload release notes | |
uses: actions/[email protected] | |
with: | |
name: release_notes | |
path: build/release-notes/ | |
retention-days: 15 | |
- name: Upload kotlindocs | |
uses: actions/[email protected] | |
with: | |
name: kotlindocs | |
path: build/firebase-kotlindoc/ | |
retention-days: 15 |