Skip to content

Commit

Permalink
ci: 修复报错
Browse files Browse the repository at this point in the history
  • Loading branch information
share121 committed Feb 6, 2025
1 parent e112060 commit 5e99a47
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
targets:
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- x86_64-pc-windows-msvc
- x86_64-apple-darwin
- aarch64-apple-darwin
steps:
- uses: actions/checkout@v4

Expand All @@ -29,16 +21,24 @@ jobs:
deno-version: v2.x

- name: Build
run: deno compile --target ${{matrix.targets}} --allow-write --allow-net --allow-read --include worker.ts main.ts
run: |
deno compile --target x86_64-unknown-linux-gnu -o fast-down-x86_64-unknown-linux-gnu --allow-write --allow-net --allow-read --include worker.ts main.ts
deno compile --target aarch64-unknown-linux-gnu -o fast-down-aarch64-unknown-linux-gnu --allow-write --allow-net --allow-read --include worker.ts main.ts
deno compile --target x86_64-pc-windows-msvc -o fast-down-x86_64-pc-windows-msvc.exe --allow-write --allow-net --allow-read --include worker.ts main.ts
deno compile --target x86_64-apple-darwin -o fast-down-x86_64-apple-darwin --allow-write --allow-net --allow-read --include worker.ts main.ts
deno compile --target aarch64-apple-darwin -o fast-down-aarch64-apple-darwin --allow-write --allow-net --allow-read --include worker.ts main.ts
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
name: Fast Down ${{ github.ref }}
name: Fast Down ${{ github.ref_name }}
body: 修复了一些已知问题
draft: false
prerelease: false
files: |
fast-down
fast-down.exe
fast-down-x86_64-unknown-linux-gnu
fast-down-aarch64-unknown-linux-gnu
fast-down-x86_64-pc-windows-msvc.exe
fast-down-x86_64-apple-darwin
fast-down-aarch64-apple-darwin

0 comments on commit 5e99a47

Please sign in to comment.