We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 752a8af commit d30fb0bCopy full SHA for d30fb0b
1 file changed
.github/workflows/android.yml
@@ -28,9 +28,13 @@ jobs:
28
path: ltw/build/outputs/aar/ltw-release.aar
29
if-no-files-found: error
30
retention-days: 7
31
+ - name: Set short SHA for release tag
32
+ id: short_sha
33
+ run: echo "short_sha=$(echo '${{ github.sha }}' | cut -c1-7)" >> $GITHUB_ENV
34
- name: Create Release
- uses: softprops/action-gh-release@v2
- if: startsWith(github.ref, 'refs/tags/')
35
+ uses: ncipollo/release-action@v1.16.0
36
with:
- files: ltw/build/outputs/aar/ltw-release.aar
37
+ commit: ${{ github.sha }}
38
+ tag: ${{ env.short_sha }}
39
+ artifacts: ltw/build/outputs/aar/ltw-release.aar
40
0 commit comments