Skip to content

Commit 7d446e4

Browse files
committed
FUCK GH ACTIONS
1 parent f20dcee commit 7d446e4

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,15 @@ jobs:
4545
RELEASE_VERSION: ${{ github.ref_name }}
4646
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
4747

48-
- name: Upload binary
49-
uses: actions/upload-artifact@v5
48+
- name: Prepare binary
49+
run: |
50+
cp target/${{ matrix.target }}/release/betterssh${{ runner.os == 'Windows' && '.exe' || '' }} \
51+
betterssh-${{ matrix.target }}${{ runner.os == 'Windows' && '.exe' || '' }}
52+
53+
- uses: actions/upload-artifact@v5
5054
with:
5155
name: betterssh-${{ matrix.target }}
52-
path: target/${{ matrix.target }}/release/betterssh${{ runner.os == 'Windows' && '.exe' || '' }}
56+
path: betterssh-${{ matrix.target }}${{ runner.os == 'Windows' && '.exe' || '' }}
5357

5458
release:
5559
name: Create Release
@@ -64,6 +68,9 @@ jobs:
6468
pattern: betterssh-*
6569
merge-multiple: true
6670

71+
- name: List downloaded artifacts
72+
run: ls -la
73+
6774
- name: Make executable (linux/macos)
6875
run: chmod +x betterssh-*
6976

0 commit comments

Comments
 (0)