We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469d948 commit 0d049d9Copy full SHA for 0d049d9
1 file changed
.github/workflows/ci-android.yml
@@ -107,12 +107,16 @@ jobs:
107
with:
108
name: root-module-debug
109
path: artifacts/root-module-debug
110
-
111
- id: prev
+ env:
112
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113
run: |
- TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
114
- echo "tag=$TAG" >> $GITHUB_OUTPUT
+ TAG=$(gh release list \
115
+ --limit 1 \
116
+ --json tagName \
117
+ --jq '.[0].tagName')
118
119
+ echo "tag=$TAG" >> $GITHUB_OUTPUT
120
- id: changelog
121
122
if [ -z "${{ steps.prev.outputs.tag }}" ]; then
@@ -134,4 +138,4 @@ jobs:
134
138
artifacts/**/* \
135
139
-t "Nightly ${{ needs.build.outputs.short_sha }}" \
136
140
--notes "${{ steps.changelog.outputs.notes }}" \
137
- --prerelease
141
+ --prerelease
0 commit comments