From 124662e0f708a9d6ce262eb0806b3796ebd3bf39 Mon Sep 17 00:00:00 2001 From: Filip Bozic <70634661+fbozic@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:24:58 +0200 Subject: [PATCH] ci: add binary output files, add debug step --- .github/workflows/release.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edd3206..7edff48 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,12 +13,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Generate GitHub token - id: generate-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ vars.ACTIONS_APP_ID }} - private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }} + # - name: Generate GitHub token + # id: generate-token + # uses: actions/create-github-app-token@v1 + # with: + # app-id: ${{ vars.ACTIONS_APP_ID }} + # private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }} - name: Get version id: get_version @@ -27,8 +27,8 @@ jobs: - name: Check if release exists id: check_release env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/relay-server/releases/tags/${{ steps.get_version.outputs.version }}" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ @@ -56,9 +56,10 @@ jobs: if: steps.check_release.outputs.exists == 'false' with: tag_name: ${{ steps.get_version.outputs.version }} - # files: | - # target/x86_64-unknown-linux-gnu/release/relay-server - # target/armv7-unknown-linux-gnueabihf/release/relay-server + files: | + README.md + target/x86_64-unknown-linux-gnu/release/relay-server + target/armv7-unknown-linux-gnueabihf/release/relay-server env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}