Skip to content

Commit 7725cab

Browse files
committed
Always update latest snapshot on Github
1 parent cf421b9 commit 7725cab

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,18 @@ jobs:
117117
echo "IS_SNAPSHOT_VERSION has unknown value: $IS_SNAPSHOT_VERSION"
118118
exit 1
119119
fi
120-
- name: Make github snapshot release
120+
- name: Update latest prerelease on Github
121121
uses: marvinpinto/action-automatic-releases@latest
122-
if: ${{ env.IS_SNAPSHOT_VERSION == 'true' }}
123122
with:
124123
repo_token: ${{ secrets.GITHUB_TOKEN }}
125124
automatic_release_tag: "latest"
126125
prerelease: true
127-
title: "Latest Snapshot"
126+
title: "Latest snapshot (${{ env.VERSION_NAME }})"
128127
files: |
129128
LICENSE
130129
core/build/libs/*.*
131130
ksp/build/libs/*.*
132-
- name: Make github release
131+
- name: Make release on Github
133132
uses: marvinpinto/action-automatic-releases@latest
134133
if: ${{ env.IS_SNAPSHOT_VERSION == 'false' }}
135134
with:

0 commit comments

Comments
 (0)