From ed6cc1bb04e3a08e7efd41662b9b595feb9c1fab Mon Sep 17 00:00:00 2001 From: pagoru Date: Thu, 11 Jul 2024 16:35:11 +0200 Subject: [PATCH] fix #2 --- .github/workflows/publish.yml | 7 +------ deno.json | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb93f8e..8528adc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file diff --git a/deno.json b/deno.json index 5320558..dec695f 100644 --- a/deno.json +++ b/deno.json @@ -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)"