Skip to content

Commit

Permalink
ci: fix release job more
Browse files Browse the repository at this point in the history
  • Loading branch information
peps1 committed Oct 21, 2024
1 parent 4c29ab0 commit 512455c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
strategy:
matrix:
compile-targets: [
{ "target": "x86_64-unknown-linux-gnu", "dir": "linux-x86_64" },
{ "target": "aarch64-unknown-linux-gnu", "dir": "linux-aarch64" },
{ "target": "x86_64-pc-windows-msvc", "dir": "windows-x86_64" },
{ "target": "x86_64-apple-darwin", "dir": "macos-x86_64" },
{ "target": "aarch64-apple-darwin", "dir": "macos-aarch64" },
{ "target": "x86_64-unknown-linux-gnu", "platform": "linux-x86_64" },
{ "target": "aarch64-unknown-linux-gnu", "platform": "linux-aarch64" },
{ "target": "x86_64-pc-windows-msvc", "platform": "windows-x86_64" },
{ "target": "x86_64-apple-darwin", "platform": "macos-x86_64" },
{ "target": "aarch64-apple-darwin", "platform": "macos-aarch64" },
]

steps:
Expand All @@ -31,11 +31,11 @@ jobs:
deno-version: v2.x
- run: deno install
- run: deno test --allow-env --allow-read --allow-sys --coverage --trace-leaks src/
- run: deno compile --allow-env --allow-read --allow-write --allow-sys --allow-net --target ${{ matrix.compile-targets.target }} -o bin/${{ matrix.compile-targets.dir }}/srrup src/index.ts
- run: deno compile --allow-env --allow-read --allow-write --allow-sys --allow-net --target ${{ matrix.compile-targets.target }} -o bin/srrup-${{ matrix.compile-targets.platform }} src/index.ts
- uses: actions/upload-artifact@v4
with:
name: srrup-${{ matrix.compile-targets.dir }}
path: bin/${{ matrix.compile-targets.dir }}/srrup*
name: srrup-${{ matrix.compile-targets.platform }}
path: bin/srrup*
retention-days: 7

release-github:
Expand Down

0 comments on commit 512455c

Please sign in to comment.