File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,20 @@ jobs:
5151 ./gradlew -PNEXUS_PASSWORD=${NEXUS_PASSWORD} :fijkplayer-full:uploadArchives
5252 zip -r Symbols.zip fijkplayer-full/build/intermediates/cmake/release/obj
5353
54+ - name : Extract tag name
55+ id : tag
56+ uses : actions/github-script@0.2.0
57+ with :
58+ github-token : ${{ secrets.GITHUB_TOKEN }}
59+ script : |
60+ return context.payload.ref.replace('refs/tags/', '');
61+
5462 - name : Create Release
5563 id : create_release
5664 uses : ncipollo/release-action@v1
5765 with :
5866 token : ${{ secrets.GITHUB_TOKEN }}
59- tag : ${{ github.ref }}
60- name : Release ${{ github.ref }}
67+ name : Release ${{ steps.tag.outputs.result }}
6168 draft : false
6269 artifacts : " ./android/ijkplayer/Symbols.zip"
6370 allowUpdates : true
Original file line number Diff line number Diff line change 4141 uses : ncipollo/release-action@v1
4242 with :
4343 token : ${{ secrets.GITHUB_TOKEN }}
44- tag : ${{ github.ref }}
45- name : Release ${{ github.ref }}
44+ name : Release ${{ steps.tag.outputs.result }}
4645 draft : false
4746 artifacts : " ./ios/CocoaPodsPub/IJKMediaPlayer.tar.gz"
4847 allowUpdates : true
You can’t perform that action at this time.
0 commit comments