From fb5a3f41ec356463eb254658a2a07013221673e1 Mon Sep 17 00:00:00 2001 From: neodiX Date: Fri, 13 Sep 2024 19:05:33 +0400 Subject: [PATCH] add android tonlib artifacts to release --- .../workflows/build-ton-linux-android-tonlib.yml | 2 +- .github/workflows/create-release.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-ton-linux-android-tonlib.yml b/.github/workflows/build-ton-linux-android-tonlib.yml index bbd956610..a1a6bc99d 100644 --- a/.github/workflows/build-ton-linux-android-tonlib.yml +++ b/.github/workflows/build-ton-linux-android-tonlib.yml @@ -28,5 +28,5 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@master with: - name: tonlib-android + name: ton-android-tonlib path: artifacts diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 367dd6638..263bd9a43 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -83,6 +83,14 @@ jobs: workflow_conclusion: success skip_unpack: true + - name: Download Android Tonlib artifacts + uses: dawidd6/action-download-artifact@v2 + with: + workflow: build-ton-linux-android-tonlib.yml + path: artifacts + workflow_conclusion: success + skip_unpack: true + - name: Show all artifacts run: | tree artifacts @@ -501,3 +509,11 @@ jobs: file: artifacts/ton-wasm-binaries.zip asset_name: ton-wasm-binaries.zip tag: ${{ steps.tag.outputs.TAG }} + + - name: Upload Android Tonlib artifacts + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: artifacts/ton-android-tonlib.zip + asset_name: ton-android-tonlib.zip + tag: ${{ steps.tag.outputs.TAG }}