File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 17
17
permissions :
18
18
contents : read
19
19
packages : write
20
+ releases : write
20
21
21
22
strategy :
22
23
matrix :
@@ -73,14 +74,15 @@ jobs:
73
74
docker build --build-arg SQRL_VERSION=${{ matrix.SQRL_VERSION }} --build-arg RUNNER_VERSION=${{ env.VERSION }} -t $DOCKER_TAG .
74
75
docker push $DOCKER_TAG
75
76
77
+ - name : Rename jar file
78
+ if : github.event_name == 'release' && github.event.action == 'created'
79
+ run : |
80
+ mv target/flink-jar-runner.uber.jar target/flink-jar-runner-${{ env.VERSION }}-sqrl-${{ matrix.SQRL_VERSION }}-${{ matrix.FLINK_PROFILE }}.jar
81
+
76
82
- name : Upload to GitHub Release
77
83
if : github.event_name == 'release' && github.event.action == 'created'
78
- uses : actions/upload-release-asset @v1
84
+ uses : softprops/action-gh-release @v1
79
85
with :
80
- upload_url : ${{ github.event.release.upload_url }}
81
- asset_path : target/flink-jar-runner.uber.jar
82
- asset_name : flink-jar-runner-${{ env.VERSION }}-sqrl-${{ matrix.SQRL_VERSION }}-${{ matrix.FLINK_PROFILE }}.jar
83
- asset_content_type : application/java-archive
86
+ files : target/flink-jar-runner-${{ env.VERSION }}-sqrl-${{ matrix.SQRL_VERSION }}-${{ matrix.FLINK_PROFILE }}.jar
84
87
env :
85
88
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
86
- continue-on-error : true
You can’t perform that action at this time.
0 commit comments