File tree Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,15 @@ jobs:
50
50
ASTGEN_VERSION=$(./astgen-linux --version)
51
51
echo "ASTGEN_VERSION=$ASTGEN_VERSION" >> $GITHUB_ENV
52
52
echo "astgen version is: $ASTGEN_VERSION"
53
- - name : Upload binaries to pre- release
54
- uses : svenstaro/upload-release-action@v2
53
+ - name : Upload binaries to release
54
+ uses : softprops/action-gh-release@v1
55
55
with :
56
56
prerelease : true
57
- overwrite : true
58
- file_glob : true
59
- repo_token : ${{ secrets.GITHUB_TOKEN }}
60
- file : astgen-*
61
- target_commit : ${{ github.head_ref || github.ref_name }}
62
- tag : v${{ env.ASTGEN_VERSION }}-prerelease
57
+ target_commitish : ${{ github.head_ref || github.ref_name }}
58
+ tag_name : v${{ env.ASTGEN_VERSION }}-prerelease
59
+ files : |
60
+ astgen-win.exe
61
+ astgen-macos
62
+ astgen-macos-arm
63
+ astgen-linux
64
+ astgen-linux-arm
Original file line number Diff line number Diff line change @@ -52,16 +52,13 @@ jobs:
52
52
ASTGEN_VERSION=$(./astgen-linux --version)
53
53
echo "ASTGEN_VERSION=$ASTGEN_VERSION" >> $GITHUB_ENV
54
54
echo "astgen version is: $ASTGEN_VERSION"
55
- - name : Set next release version
56
- uses :
anothrNick/[email protected]
57
- env :
58
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
- CUSTOM_TAG : v${{ env.ASTGEN_VERSION }}
60
55
- name : Upload binaries to release
61
- uses : svenstaro/upload-release-action@v2
56
+ uses : softprops/action-gh-release@v1
62
57
with :
63
- overwrite : true
64
- file_glob : true
65
- repo_token : ${{ secrets.GITHUB_TOKEN }}
66
- file : astgen-*
67
- tag : v${{ env.ASTGEN_VERSION }}
58
+ tag_name : v${{ env.ASTGEN_VERSION }}
59
+ files : |
60
+ astgen-win.exe
61
+ astgen-macos
62
+ astgen-macos-arm
63
+ astgen-linux
64
+ astgen-linux-arm
You can’t perform that action at this time.
0 commit comments