Skip to content

Commit

Permalink
ci: renaming tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreszorro committed Mar 6, 2024
1 parent da4d34a commit 4195980
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,17 @@ jobs:
cache: true
experimental: true
- run: bun install
- name: Create binary and release files # FIXME: Bun issue with bin path
- name: Create binary and release files
run: |
mkdir ./dist
bun build ./lib/main.ts --compile --outfile ./dist/scfz-${{ matrix.name }}
tar -czvf ./dist/scfz-${{ matrix.name }}.tar.gz ./lib/scfz-${{ matrix.name }}
./lib/scfz-${{ matrix.name }} --version
mkdir ./dist/${{ matrix.name }}
bun build ./lib/main.ts --compile --outfile ./dist/${{ matrix.name }}/scfz
# FIXME: Bun issue with bin path
./lib/scfz --version
mv ./lib/scfz ./dist/${{ matrix.name }}/scfz
tar -czvf ./dist/scfz-${{ matrix.name }}.tar.gz ./dist/${{ matrix.name }}
- uses: actions/upload-artifact@v4
with:
name: scfz-${{matrix.target}}
name: tarball-${{matrix.target}}
path: |
./dist/scfz-*.tar.gz
if-no-files-found: error
Expand Down
1 change: 1 addition & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[tools]
bun = "latest"
jq = "latest"

0 comments on commit 4195980

Please sign in to comment.