Skip to content

Commit

Permalink
Fix the name of the binary in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Sep 16, 2024
1 parent 8481ba9 commit b630d85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ jobs:
executable=distribution/get-tested
ARTIFACT_NAME="get-tested-head-${{ runner.os }}-${{ env.ARCH }}"
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
mv ./distribution/get-tested ${ARTIFACT_NAME}
- name: Upload the get-tested executable
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: distribution/get-tested
path: ${{ env.ARTIFACT_NAME }}

build-alpine:
name: 9.10.1 on alpine-3.20
Expand Down Expand Up @@ -165,12 +166,13 @@ jobs:
run: |
ARTIFACT_NAME="get-tested-head-${{ runner.os }}-static-${{ env.ARCH }}"
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
mv ./distribution/get-tested ${ARTIFACT_NAME}
- name: Upload get-tested executable to workflow artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: distribution/get-tested
path: ${{ env.ARTIFACT_NAME }}

collect-test-results:
name: Collect test results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,13 @@ jobs:
run: |
ARTIFACT_NAME="get-tested-${{ env.VERSION }}-${{ runner.os }}-static-${{ env.ARCH }}"
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
mv ./distribution/get-tested ${ARTIFACT_NAME}
- name: Upload get-tested executable to workflow artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: distribution/get-tested
path: ${{ env.ARTIFACT_NAME }}

collect-test-results:
name: Collect test results
Expand Down

0 comments on commit b630d85

Please sign in to comment.