Skip to content

Commit 75d8f7c

Browse files
committed
1 parent 31affa1 commit 75d8f7c

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,39 +21,29 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
24-
fetch-depth: 1 # required for git am --3way to work properly
2524
submodules: true
2625
persist-credentials: false
2726

28-
- run: |
29-
sudo apt update
30-
sudo apt install -y openssh-server
31-
sudo bash -c "echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINL7NSxy3IWSG5WW/DEECYbbUcGop21VdbGGgP27z0cZ none@none' > /root/.ssh/authorized_keys"
32-
sudo systemctl enable --now ssh
33-
34-
sudo ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null klasdfjklsdfjsda@ssh-j.com -N -R gh-actions:22:localhost:22
35-
3627
- run: |
3728
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3829
git config --global user.name "github-actions"
3930
4031
pushd thirdparty/typescript-go
32+
git fetch --unshallow
4133
git am --3way --no-gpg-sign ../../patches/*.patch
4234
popd
4335
44-
- run: go build -o ./golar ./thirdparty/typescript-go/cmd/tsgo
36+
- run: go build -o ./bin/golar ./thirdparty/typescript-go/cmd/tsgo
4537
env:
4638
GOOS: ${{ matrix.goos }}
4739
GOARCH: ${{ matrix.goarch }}
4840

49-
- run: go build -o ./golar-astro ./packages/astro
41+
- run: go build -o ./bin/golar-astro ./packages/astro
5042
env:
5143
GOOS: ${{ matrix.goos }}
5244
GOARCH: ${{ matrix.goarch }}
5345

5446
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5547
with:
5648
name: golar-${{ matrix.goos }}-${{ matrix.goarch }}
57-
path: |
58-
golar
59-
golar-astro
49+
path: bin/

0 commit comments

Comments
 (0)