From cc92002a6285440ae9249a8227cebd65dae11662 Mon Sep 17 00:00:00 2001 From: Edgaras Date: Wed, 31 Jan 2024 14:18:05 +0200 Subject: [PATCH] debug 18 --- .github/workflows/release.yml | 20 ++++++++++++++------ .idea/workspace.xml | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5590a85..12a0d5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,12 +11,20 @@ jobs: permissions: write-all steps: + - name: "Checkout" + uses: "actions/checkout@v2" - - name: Upload binaries to GitHub release - uses: svenstaro/upload-release-action@v2 + - name: "Get upload_url" + run: echo "::set-output name=upload_url::https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)/assets{?name,label}" + id: release + + - name: "Upload zip" + uses: "actions/upload-release-asset@v1" + env: + GITHUB_TOKEN: ${{ secrets.STAABM_TOKEN }} with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: wallee.zip - asset_name: wallee.zip - tag: ${{ github.ref }} + asset_content_type: "application/zip" + asset_name: "wallee.zip" + asset_path: "wallee.zip" + upload_url: ${{ steps.release.outputs.upload_url }} diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2da3c18..0f825fa 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -67,7 +67,7 @@ 1706614352267 - +