From 4b725b2925469e042260a28768b1aa1edd7668e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20Sander?= Date: Wed, 6 Nov 2024 15:06:30 +0100 Subject: [PATCH] build: Switch from pkg to Node SEA for creating binaries Implements #587 --- .github/workflows/ci.yaml | 34 --------------------------- .github/workflows/insiders-build.yaml | 6 ----- 2 files changed, 40 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2e58c1e2..3d3a5183 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,9 +35,6 @@ jobs: cd src npm ci --include=dev --include=prod - # - name: Make sure Jest is installed - # run: npm install jest - - name: Debugging 2 run: | pwd @@ -170,9 +167,6 @@ jobs: cd src npm ci --include=dev --include=prod - # - name: Make sure Jest is installed - # run: npm install jest - - name: Debugging 2 run: | dir @@ -422,28 +416,6 @@ jobs: ls -la - # - name: Download-Binaries - # uses: actions/download-artifact@v3 - # with: - # name: release-binaries-macos - # path: release-macos/ - - # - name: Make binary executable - # run: | - # chmod +x release-macos/${DIST_FILE_NAME} - - # - name: Debug - # run: | - # ls -la - # ls -la ./release-macos - - # - name: Change name of zip file - # run: | - # pwd - # ls -la - # ls -la ./release-macos - # mv ./${{ env.DIST_FILE_NAME }}-macos.zip ./${{ needs.release-please.outputs.release_tag_name }}-macos.zip - - name: Upload to existing release uses: ncipollo/release-action@v1 with: @@ -561,10 +533,6 @@ jobs: Remove-Item -Force build.cjs dir - # - name: Debug - # run: | - # dir - # dir ./release-win - name: Upload to existing release uses: ncipollo/release-action@v1 @@ -573,7 +541,6 @@ jobs: omitBodyDuringUpdate: true omitNameDuringUpdate: true artifactContentType: raw - # artifactContentType: application/zip draft: true tag: ${{ needs.release-please.outputs.release_tag_name }} artifacts: ./${{ needs.release-please.outputs.release_tag_name }}-win.zip @@ -649,7 +616,6 @@ jobs: omitBodyDuringUpdate: true omitNameDuringUpdate: true artifactContentType: raw - # artifactContentType: application/zip draft: true tag: ${{ needs.release-please.outputs.release_tag_name }} artifacts: ./${{ needs.release-please.outputs.release_tag_name }}-linux.zip diff --git a/.github/workflows/insiders-build.yaml b/.github/workflows/insiders-build.yaml index 448350a3..97d08316 100644 --- a/.github/workflows/insiders-build.yaml +++ b/.github/workflows/insiders-build.yaml @@ -223,12 +223,6 @@ jobs: pwd ${{ matrix.build }} - # - name: Upload release artifacts to GitHub - # uses: actions/upload-artifact@v3 - # with: - # name: ${{ matrix.artifact_release_name }} - # path: ${{ matrix.artifact_release_path }} - - name: Upload insider build artifacts to GitHub uses: actions/upload-artifact@v4 with: