Skip to content

Commit

Permalink
use os name only without version in artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Jun 25, 2021
1 parent 25b2f46 commit 5863ec7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_electrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
with:
command: build
args: --release
- name: downcase runner.os
run: RUNNER_OS=${{ runner.os}} && echo "RUNNER_OS_LOWER=${RUNNER_OS,,}" >>${GITHUB_ENV}
- name: Upload libs
uses: actions/upload-artifact@v2
with:
name: electrs_${{ matrix.os }}_${{ env.ELECTRS_TAG }}
name: electrs_${{ env.RUNNER_OS_LOWER }}_${{ env.ELECTRS_TAG }}
path: target/release/electrs


Expand All @@ -54,8 +56,10 @@ jobs:
with:
command: build
args: --release
- name: downcase runner.os
run: RUNNER_OS=${{ runner.os}} && echo "RUNNER_OS_LOWER=${RUNNER_OS,,}" >>${GITHUB_ENV}
- name: Upload libs
uses: actions/upload-artifact@v2
with:
name: electrs_esplora_${{ matrix.os }}_${{ env.ELECTRS_COMMIT }}
name: electrs_${{ env.RUNNER_OS_LOWER }}_esplora_${{ env.ELECTRS_COMMIT }}
path: target/release/electrs

0 comments on commit 5863ec7

Please sign in to comment.