Skip to content

Commit

Permalink
ci: add binary output files, add debug step
Browse files Browse the repository at this point in the history
  • Loading branch information
fbozic committed Apr 29, 2024
1 parent 3025304 commit 124662e
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}" \
Expand Down Expand Up @@ -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 }}

0 comments on commit 124662e

Please sign in to comment.