From a0c078361a1a23c7793da02a91f231def4830f43 Mon Sep 17 00:00:00 2001 From: warman Date: Fri, 22 Mar 2024 13:45:40 -0400 Subject: [PATCH] ci: remove deno compile binary --- .github/workflows/ci.yaml | 9 --------- .github/workflows/release.yaml | 36 +--------------------------------- deno.jsonc | 5 +---- 3 files changed, 2 insertions(+), 48 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac6d69e..1dc64a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,15 +38,6 @@ jobs: - name: Deno Info run: deno info src/index.ts - - name: Deno Compile [windows] - run: deno task compile-win - - - name: Deno Compile [macos] - run: deno task compile-macos - - - name: Deno Compile [linux] - run: deno task compile-linux - - name: Cache Deno dependencies uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index be7d676..31e1fc3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,38 +29,4 @@ jobs: release-type: simple extra-files: | README.md - src/version.ts - - - uses: actions/checkout@v4 - if: ${{ steps.release.outputs.release_created }} - - - name: Setup Deno ${{ matrix.deno-version }} - if: ${{ steps.release.outputs.release_created }} - uses: denoland/setup-deno@v1 - with: - deno-version: ${{ matrix.deno-version }} - - - name: Deno Compile [windows] - if: ${{ steps.release.outputs.release_created }} - run: deno task compile-win - - - name: Deno Compile [macos] - if: ${{ steps.release.outputs.release_created }} - run: deno task compile-macos - - - name: Deno Compile [linux] - if: ${{ steps.release.outputs.release_created }} - run: deno task compile-linux - - - name: Upload Artifacts - if: ${{ steps.release.outputs.release_created }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ steps.release.outputs.tag_name }} ./build/runreal-win-x64.exe ./build/runreal-macos-arm ./build/runreal-linux-x64 - - - name: Cache Deno dependencies - if: ${{ steps.release.outputs.release_created }} - uses: actions/cache@v3 - with: - path: ${{ env.DENO_DIR }} - key: ${{ hashFiles('deno.lock') }} \ No newline at end of file + src/version.ts \ No newline at end of file diff --git a/deno.jsonc b/deno.jsonc index 3d0c627..e4f5ae8 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,10 +1,7 @@ { "tasks": { "start": "deno run -A --watch=src src/index.ts", - "run": "deno run -A src/index.ts", - "compile-win": "deno compile -A --target x86_64-pc-windows-msvc --output build/triggerr-win-x64 src/index.ts", - "compile-linux": "deno compile -A --target x86_64-unknown-linux-gnu --output build/triggerr-linux-x64 src/index.ts", - "compile-macos": "deno compile -A --target aarch64-apple-darwin --output build/triggerr-macos-arm src/index.ts" + "run": "deno run -A src/index.ts" }, "lint": { "include": ["src/"],