Skip to content

Commit

Permalink
Debugging GITHUB_REF
Browse files Browse the repository at this point in the history
  • Loading branch information
John-LittleBearLabs committed Aug 21, 2023
1 parent c64f09e commit 1f2e4d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
run: tar -czvf ${{ matrix.project }}-${{ matrix.target }}.tar.gz -C ./target/${{ matrix.target }}/release ${{ matrix.project }}
- name: upload binary
run: |
echo "GITHUB_REF=${GITHUB_REF}"
mv "$SOURCE_PATH" "$TARGET_PATH"
set -x
gh release upload "$GITHUB_REF" "$TARGET_PATH"
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -81,7 +83,10 @@ jobs:
xz -9 --keep --extreme ${{ matrix.project }}-small-${{ github.ref_name }}-${{ matrix.target }}.tar
gzip --best ${{ matrix.project }}-small-${{ github.ref_name }}-${{ matrix.target }}.tar
- name: upload binary
run: gh release upload "$GITHUB_REF" *-small-${{ github.ref_name }}-${{ matrix.target }}.tar.?z
run: |
echo "GITHUB_REF=${GITHUB_REF}"
set -x
gh release upload "${GITHUB_REF}" *-small-${{ github.ref_name }}-${{ matrix.target }}.tar.?z
env:
GITHUB_TOKEN: ${{ github.token }}
shell: bash
Expand Down

0 comments on commit 1f2e4d3

Please sign in to comment.