From d94e31960b587f463030fddd4e4d89e2a9c3c393 Mon Sep 17 00:00:00 2001 From: neodiX Date: Wed, 28 Jun 2023 08:45:18 +0200 Subject: [PATCH 1/4] Fix "Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged" in macOS x86-64 GH action --- .github/workflows/ton-x86-64-macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ton-x86-64-macos.yml b/.github/workflows/ton-x86-64-macos.yml index 44c2d2aa..9713005a 100644 --- a/.github/workflows/ton-x86-64-macos.yml +++ b/.github/workflows/ton-x86-64-macos.yml @@ -11,7 +11,7 @@ jobs: with: submodules: 'recursive' - - uses: cachix/install-nix-action@v18 + - uses: cachix/install-nix-action@v20 with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} From 020606295c011b0971a187c3bbfd007703782fb3 Mon Sep 17 00:00:00 2001 From: neodiX Date: Wed, 28 Jun 2023 09:22:30 +0200 Subject: [PATCH 2/4] Fix "Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged" in macOS x86-64 GH action --- .github/workflows/ton-x86-64-macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ton-x86-64-macos.yml b/.github/workflows/ton-x86-64-macos.yml index 9713005a..b9e9cf9b 100644 --- a/.github/workflows/ton-x86-64-macos.yml +++ b/.github/workflows/ton-x86-64-macos.yml @@ -11,7 +11,7 @@ jobs: with: submodules: 'recursive' - - uses: cachix/install-nix-action@v20 + - uses: cachix/install-nix-action@v22 with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} From edb80d5d6aca8690d29a417b533caee7e04ebacc Mon Sep 17 00:00:00 2001 From: neodiX Date: Wed, 28 Jun 2023 09:49:00 +0200 Subject: [PATCH 3/4] Fix "Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged" in macOS x86-64 GH action; Fix windows build & remove arm64 ubuntu gh action. --- .github/workflows/create-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index cb665122..85560080 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -359,7 +359,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: artifacts/ton-x86_64-linux-binaries/libtonlibjson.so.0.5 + file: artifacts/ton-x86_64-linux-binaries/libtonlibjson.so asset_name: tonlibjson-linux-x86_64.so tag: ${{ steps.tag.outputs.TAG }} From 75534db189c282783278bb2060585751ab8a8d05 Mon Sep 17 00:00:00 2001 From: neodiX Date: Wed, 28 Jun 2023 09:53:22 +0200 Subject: [PATCH 4/4] Fix "Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged" in macOS x86-64 GH action; Fix windows build & remove arm64 ubuntu gh action. Add missing storage-daemon artifacts --- .github/workflows/create-release.yml | 72 ++++++++++------------------ 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 85560080..10c20ac0 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -27,22 +27,6 @@ jobs: workflow_conclusion: success skip_unpack: false - # - name: Download Linux arm64 artifacts - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: ton-aarch64-linux.yml - # path: artifacts - # workflow_conclusion: success - # skip_unpack: true - # - # - name: Download and unzip Linux arm64 artifacts - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: ton-aarch64-linux.yml - # path: artifacts - # workflow_conclusion: success - # skip_unpack: false - - name: Download Mac x86-64 artifacts uses: dawidd6/action-download-artifact@v2 with: @@ -59,22 +43,6 @@ jobs: workflow_conclusion: success skip_unpack: false - # - name: Download Mac arm64 artifacts - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: ton-aarch64-macos.yml - # path: artifacts - # workflow_conclusion: success - # skip_unpack: true - # - # - name: Download and unzip Mac arm64 artifacts - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: ton-aarch64-macos.yml - # path: artifacts - # workflow_conclusion: success - # skip_unpack: false - - name: Download Windows artifacts uses: dawidd6/action-download-artifact@v2 with: @@ -207,6 +175,14 @@ jobs: asset_name: storage-daemon-cli.exe tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Windows 2019 single artifact - storage-daemon + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: artifacts/ton-win-binaries/storage-daemon.exe + asset_name: storage-daemon.exe + tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Windows 2019 single artifact - tonlibjson uses: svenstaro/upload-release-action@v2 with: @@ -281,6 +257,14 @@ jobs: asset_name: storage-daemon-cli-mac-x86-64 tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Mac x86-64 single artifact - storage-daemon + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: artifacts/ton-x86_64-macos-binaries/storage-daemon + asset_name: storage-daemon-mac-x86-64 + tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Mac x86-64 single artifact - tonlibjson uses: svenstaro/upload-release-action@v2 with: @@ -355,6 +339,14 @@ jobs: asset_name: storage-daemon-cli-linux-x86_64 tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Linux x86-64 single artifact - storage-daemon + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: artifacts/ton-x86_64-linux-binaries/storage-daemon + asset_name: storage-daemon-linux-x86_64 + tag: ${{ steps.tag.outputs.TAG }} + - name: Upload Linux x86-64 single artifact - tonlibjson uses: svenstaro/upload-release-action@v2 with: @@ -371,22 +363,6 @@ jobs: asset_name: tonlib-cli-linux-x86_64 tag: ${{ steps.tag.outputs.TAG }} - # - name: Upload Linux arm64 artifacts - # uses: svenstaro/upload-release-action@v2 - # with: - # repo_token: ${{ secrets.GITHUB_TOKEN }} - # file: artifacts/ton-aarch64-linux-binaries.zip - # asset_name: ton-linux-arm64.zip - # tag: ${{ steps.tag.outputs.TAG }} - # - # - name: Upload Mac arm64 artifacts - # uses: svenstaro/upload-release-action@v2 - # with: - # repo_token: ${{ secrets.GITHUB_TOKEN }} - # file: artifacts/ton-aarch64-macos-binaries - # asset_name: ton-mac-arm64.zip - # tag: ${{ steps.tag.outputs.TAG }} - - name: Upload WASM artifacts uses: svenstaro/upload-release-action@v2 with: