m157 release #352
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/checkout@v4.1.1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4.1.0 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: gradle | |
- name: Perform gradle build | |
run: | | |
./gradlew firebasePublish | |
- name: Upload m2 repo | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: m2repository | |
path: build/m2repository/ | |
retention-days: 15 | |
- name: Upload release notes | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: release_notes | |
path: build/release-notes/ | |
retention-days: 15 | |
- name: Upload kotlindocs | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: kotlindocs | |
path: build/firebase-kotlindoc/ | |
retention-days: 15 |