Skip to content

Commit d24c941

Browse files
Switch to softprops/action-gh-release
1 parent 3d063e9 commit d24c941

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
arch: amd64
2323
steps:
2424
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
25-
# upload-to-release is busted on node 20
26-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27-
with:
28-
node-version: "18"
2925
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
3026
with:
3127
toolchain: stable
@@ -37,8 +33,9 @@ jobs:
3733
command: build
3834
args: --release --target ${{ matrix.target }}
3935
use-cross: ${{ runner.os == 'Linux' }}
40-
- uses: Shopify/upload-to-release@master
36+
- name: Rename Binary
37+
run: cp ./target/${{ matrix.target }}/release/shadowenv ./shadowenv-${{ matrix.target }}
38+
- name: Upload Binary to Release
39+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
4140
with:
42-
name: shadowenv-${{ matrix.target }}
43-
path: target/${{ matrix.target }}/release/shadowenv
44-
repo-token: ${{ secrets.GITHUB_TOKEN }}
41+
files: shadowenv-${{ matrix.target }}

0 commit comments

Comments
 (0)