Skip to content

Commit

Permalink
fix #2 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
pagoru authored Jul 11, 2024
1 parent 8f92ad9 commit de0cd94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,11 @@ jobs:
working-directory: ./
run: deno task compile:${{ matrix.os }}

- name: 'Zip build'
run: |
cd ./build/
zip -r ../auth_${{ matrix.os }}.zip .
- name: 'Upload to release'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./auth_${{ matrix.os }}.zip
file: ./build/auth_${{ matrix.os }}
tag: ${{ github.ref }}
overwrite: true
file_glob: true
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

"compile": "deno compile -A --unstable-kv --no-check",

"compile:windows": "deno task compile --target=x86_64-pc-windows-msvc --output ./build/server_windows ./mod.ts",
"compile:linux": "deno task compile --target=x86_64-unknown-linux-gnu --output ./build/server_linux ./mod.ts",
"compile:darwin": "deno task compile --target=x86_64-apple-darwin --output ./build/server_darwin ./mod.ts",
"compile:windows": "deno task compile --target=x86_64-pc-windows-msvc --output ./build/auth_windows ./mod.ts",
"compile:linux": "deno task compile --target=x86_64-unknown-linux-gnu --output ./build/auth_linux ./mod.ts",
"compile:darwin": "deno task compile --target=x86_64-apple-darwin --output ./build/auth_darwin ./mod.ts",
"compile:current": "deno task compile --output ./server ./mod.ts",

"build": "(deno task compile:linux) & (deno task compile:darwin) & (deno task compile:windows)"
Expand Down

0 comments on commit de0cd94

Please sign in to comment.