Skip to content

Commit

Permalink
Always update latest snapshot on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuchortdev committed Dec 18, 2020
1 parent cf421b9 commit 7725cab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,18 @@ jobs:
echo "IS_SNAPSHOT_VERSION has unknown value: $IS_SNAPSHOT_VERSION"
exit 1
fi
- name: Make github snapshot release
- name: Update latest prerelease on Github
uses: marvinpinto/action-automatic-releases@latest
if: ${{ env.IS_SNAPSHOT_VERSION == 'true' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: "latest"
prerelease: true
title: "Latest Snapshot"
title: "Latest snapshot (${{ env.VERSION_NAME }})"
files: |
LICENSE
core/build/libs/*.*
ksp/build/libs/*.*
- name: Make github release
- name: Make release on Github
uses: marvinpinto/action-automatic-releases@latest
if: ${{ env.IS_SNAPSHOT_VERSION == 'false' }}
with:
Expand Down

0 comments on commit 7725cab

Please sign in to comment.