Skip to content

Commit

Permalink
ci: use tstdin-os-arch.xz
Browse files Browse the repository at this point in the history
... so that hopefully ubi[1] DWIMs.

[1]: https://github.com/houseabsolute/ubi/
  • Loading branch information
mfontani committed Jan 21, 2023
1 parent 7458e24 commit 96cc7fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
GOARCH: amd64
- run: ./tstdin -help
- run: sh -c '(echo foo ; sleep 1; echo bar ; sleep 1 ; echo baz) | ./tstdin'
- run: xz --compress --stdout tstdin > tstdin.linux.amd64.xz
- run: xz --compress --stdout tstdin > tstdin-linux-amd64.xz
# Build #2: windows/amd64
- run: ./.dev/build-static.sh
env:
Expand All @@ -36,20 +36,20 @@ jobs:
env:
GOOS: darwin
GOARCH: amd64
- run: xz --compress --stdout tstdin > tstdin.darwin.amd64.xz
- run: xz --compress --stdout tstdin > tstdin-darwin-amd64.xz
# Upload artifacts...
- uses: actions/upload-artifact@master
with:
name: tstdin.linux.amd64.xz
path: tstdin.linux.amd64.xz
name: tstdin-linux-amd64.xz
path: tstdin-linux-amd64.xz
- uses: actions/upload-artifact@master
with:
name: tstdin.exe
path: tstdin.exe
- uses: actions/upload-artifact@master
with:
name: tstdin.darwin.amd64.xz
path: tstdin.darwin.amd64.xz
name: tstdin-darwin-amd64.xz
path: tstdin-darwin-amd64.xz

release:
needs: [build]
Expand All @@ -70,8 +70,8 @@ jobs:
strategy:
matrix:
file:
- tstdin.linux.amd64.xz
- tstdin.darwin.amd64.xz
- tstdin-linux-amd64.xz
- tstdin-darwin-amd64.xz
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@master
Expand Down

0 comments on commit 96cc7fd

Please sign in to comment.