Skip to content

Commit 0c8d143

Browse files
committed
first stab at release action fix
1 parent 5980acd commit 0c8d143

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ jobs:
119119
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
120120
ARTIFACT="${NAME}-${VERSION}.zip"
121121
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
126126
127127
# Build artifact using buildPlugin Gradle task
128128
- name: Build Plugin
@@ -201,8 +201,8 @@ jobs:
201201

202202
# Check out current repository
203203
- name: Fetch Sources
204-
uses: actions/checkout@v2
205-
204+
uses: actions/checkout@v4
205+
#TODO come back and review this area
206206
# Remove old release drafts by using the curl request for the available releases with draft flag
207207
- name: Remove Old Release Drafts
208208
env:
@@ -234,11 +234,13 @@ jobs:
234234
# Upload artifact as a release asset
235235
- name: Upload Release Asset
236236
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 }}
240241
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ IDEA Keystroke Counter
88
<!-- Plugin description start -->
99

1010
Keystroke Counter tracks your keystrokes on the keyboard and counts them
11-
for you. When you set a daily limit, it shows how close you are to your
12-
daily limit. At the same time it shows the keystrokes it counts with
11+
for you. When you set a daily target, it shows how close you are to your
12+
daily target. At the same time it shows the keystrokes it counts with
1313
detailed visualized statistics. Allows you to customize the keys to count from the
1414
settings. Supports most keyboards.
1515

0 commit comments

Comments
 (0)