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 38bf586
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ jobs:
if: ${{ !steps.jni-cache.outputs.cache-hit }}
run: cp -R app/build/intermediates/stripped_native_libs/release/out/lib app/prebuilt

- name: Re-tag Nightly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch --prune --tags
git tag -d nightly
git push origin :refs/tags/nightly
git tag nightly
git push origin nightly
- name: Build changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
Expand All @@ -74,12 +84,9 @@ jobs:
- name: Create Nightly release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
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 }}

0 comments on commit 38bf586

Please sign in to comment.