Skip to content

Apply release-changelog-builder-action to generate changelog #102

Apply release-changelog-builder-action to generate changelog

Apply release-changelog-builder-action to generate changelog #102

name: Android - Deploy Staging build to Firebase
on:
push:
branches:
- develop
- test-lucas
jobs:
build_and_deploy_android:
name: Android - Deploy Staging build to Firebase
runs-on: ubuntu-latest
environment: staging
timeout-minutes: 30
steps:
- name: Check out
uses: actions/checkout@v3
- name: Find HEAD commit
id: head
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: Build changelog on "develop"
id: changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
configuration: ".github/workflows/changelog-config.json"
# Listing PRs from the last tag to the HEAD commit
toTag: ${{ steps.head.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Print release notes
run: |
echo categorized_prs ${{ steps.changelog.outputs.categorized_prs }}
echo uncategorized_prs ${{ steps.changelog.outputs.uncategorized_prs }}
echo "${{ steps.changelog.outputs.changelog }}"