diff --git a/.github/workflows/android_deploy_staging.yml b/.github/workflows/android_deploy_staging.yml index aa5f3d36..716e9df5 100644 --- a/.github/workflows/android_deploy_staging.yml +++ b/.github/workflows/android_deploy_staging.yml @@ -16,16 +16,20 @@ jobs: - name: Check out uses: actions/checkout@v3 + - name: Find Head + id: head + run: echo "::set-output name=head::$(git rev-parse HEAD)" + - name: Build changelog on "develop" id: changelog uses: mikepenz/release-changelog-builder-action@v4 with: configuration: ".github/workflows/configuration.json" fromTag: "1.12.0" - toTag: "f41978f4c4bcc0848f3aa0a413815c5db6aafde2" + toTag: ${{ steps.head.outputs.head }} token: ${{ secrets.GITHUB_TOKEN }} - name: Print release notes run: | - echo ${{ github.event.pull_request.head.ref }} + echo ${{ steps.head.outputs.head }} echo ${{ steps.changelog.outputs.changelog }}