File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 26
26
- name : Parse Event
27
27
id : event
28
28
run : |
29
- echo "::set-output name= tag:: $(jq -r '.release.tag_name' "${GITHUB_EVENT_PATH}" | sed s/^v//)"
29
+ echo "tag= $(jq -r '.release.tag_name' "${GITHUB_EVENT_PATH}" | sed s/^v//)" >> $GITHUB_ENV
30
30
- name : Build and pack
31
31
id : build
32
32
run : |
@@ -39,12 +39,12 @@ jobs:
39
39
40
40
# pack
41
41
cd .workflow
42
- plutil -replace version -string "${{ steps.event.outputs .tag }}" info.plist
43
- zip -r ../"DevToys-${{ steps.event.outputs .tag }}.alfredworkflow" .
42
+ plutil -replace version -string "${{ env .tag }}" info.plist
43
+ zip -r ../"DevToys-${{ env .tag }}.alfredworkflow" .
44
44
cd ..
45
45
46
- echo "::set-output name= artifact:: $(echo "DevToys-${{ steps.event.outputs. tag }}.alfredworkflow")"
46
+ echo "artifact= $(echo "DevToys-${{ env. tag }}.alfredworkflow")" >> $GITHUB_ENV
47
47
- uses : shogo82148/actions-upload-release-asset@v1
48
48
with :
49
49
upload_url : ${{ github.event.release.upload_url }}
50
- asset_path : " ${{ steps.build.outputs .artifact }}"
50
+ asset_path : " ${{ env .artifact }}"
You can’t perform that action at this time.
0 commit comments