@@ -119,10 +119,10 @@ jobs:
119
119
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
120
120
ARTIFACT="${NAME}-${VERSION}.zip"
121
121
122
- echo "::set-output name= version:: $VERSION"
123
- echo "::set-output name=name:: $NAME"
124
- echo "::set-output name= changelog:: $CHANGELOG"
125
- echo "::set-output name= artifact:: $ARTIFACT"
122
+ echo "version= $VERSION" >> $GITHUB_OUTPUT
123
+ echo "name=$NAME" >> $GITHUB_OUTPUT
124
+ echo "changelog= $CHANGELOG" >> $GITHUB_OUTPUT
125
+ echo "artifact= $ARTIFACT" >> $GITHUB_OUTPUT
126
126
127
127
# Build artifact using buildPlugin Gradle task
128
128
- name : Build Plugin
@@ -201,8 +201,8 @@ jobs:
201
201
202
202
# Check out current repository
203
203
- name : Fetch Sources
204
- uses : actions/checkout@v2
205
-
204
+ uses : actions/checkout@v4
205
+ # TODO come back and review this area
206
206
# Remove old release drafts by using the curl request for the available releases with draft flag
207
207
- name : Remove Old Release Drafts
208
208
env :
@@ -234,11 +234,13 @@ jobs:
234
234
# Upload artifact as a release asset
235
235
- name : Upload Release Asset
236
236
id : upload-release-asset
237
- uses : actions/upload-release-asset@v1
238
- env :
239
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
237
+ # uses: actions/upload-release-asset@v1
238
+ uses : softprops/action-gh-release@v2
239
+ # env:
240
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
240
241
with :
241
- upload_url : ${{ steps.createDraft.outputs.upload_url }}
242
- asset_path : ./${{ needs.build.outputs.artifact }}
243
- asset_name : ${{ needs.build.outputs.artifact }}
244
- asset_content_type : application/zip
242
+ token : ${{ secrets.GITHUB_TOKEN }}
243
+ # url: ${{ steps.upload-release-asset.outputs.url }}
244
+ # asset_path: ./${{ needs.build.outputs.artifact }}
245
+ name : ${{ needs.build.outputs.artifact }}
246
+ # asset_content_type: application/zip
0 commit comments