Skip to content

Commit

Permalink
ci: attempt to make nightly build has correct changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Jan 24, 2024
1 parent 099aa8b commit 22ec391
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,12 @@ jobs:
if: ${{ !steps.jni-cache.outputs.cache-hit }}
run: cp -R app/build/intermediates/stripped_native_libs/release/out/lib app/prebuilt

- name: Build changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
commitMode: true
ignorePreReleases: true
configurationJson: |
{
"template": "Change log from #{{FROM_TAG}} to #{{TO_TAG}}: #{{RELEASE_DIFF}}\n#{{UNCATEGORIZED}}",
"pr_template": "- [#{{MERGE_SHA}}] - #{{TITLE}}"
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Nightly release
uses: ncipollo/release-action@v1
uses: 'marvinpinto/action-automatic-releases@latest'
with:
allowUpdates: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: nightly
prerelease: true
artifacts: "app/build/outputs/apk/release/*.apk"
removeArtifacts: true
name: "Nightly Build"
tag: nightly
body: |
${{ steps.build_changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
title: "Nightly Build"
files: |
app/build/outputs/apk/release/*.apk

0 comments on commit 22ec391

Please sign in to comment.