diff --git a/.github/workflows/_reusable_app_release.yml b/.github/workflows/_reusable_app_release.yml index 820183caa8f..6daf7badf04 100644 --- a/.github/workflows/_reusable_app_release.yml +++ b/.github/workflows/_reusable_app_release.yml @@ -86,13 +86,20 @@ jobs: run: | echo "{}" > ./package.json npx generate-changelog@1.8.0 -t "$PREVIOUS_TAG...$CURRENT_TAG" + + - name: 'Set date variable' + id: date + run: echo "::set-output name=date::$(date +%s%N)" + - name: 'Upload changelog' id: upload-file uses: actions/upload-artifact@v4 with: - name: CHANGELOG.md + name: CHANGELOG-${{ github.run_number }}-${{ steps.date.outputs.date }}.md path: ./CHANGELOG.md if-no-files-found: error + overwrite: true + - name: Expose url of changelog id: expose-url run: echo "changelog=${{ steps.upload-file.outputs.artifact-url }}" >> $GITHUB_OUTPUT @@ -136,10 +143,7 @@ jobs: with: token: ${{ secrets.SUBMODULE_PAT }} submodules: recursive - - name: Download changelog - uses: actions/download-artifact@v4 - with: - name: CHANGELOG.md + - name: Retrieve Xcode version run: | echo "XCODE_VERSION=$(cat .xcode-version)" >> $GITHUB_OUTPUT