Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanebel committed Jan 9, 2025
1 parent 99a2130 commit 628c4c7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ jobs:
- name: Build ${{matrix.os}}-${{matrix.arch}} binary
id: build
run: |
echo "ARCH=${ARCH_NAME}"
echo "ARCH2=${{ env.ARCH_NAME}}"
OUTPUT_NAME="$BINARY_NAME_${{ github.ref_name }}_${OS_NAME}_${ARCH_NAME}"
OUTPUT_DIR=dist/$OUTPUT_NAME
ARCHIVE_NAME="$OUTPUT_NAME.tar.gz"
# debug
echo "OUTPUT_NAME=${OUTPUT_NAME}"
echo "DIR=${OUTPUT_DIR}"
echo "ARCH=${ARCH_NAME}"
echo "ARCH2=${{ env.ARCH_NAME}}"
echo "output_dir=${OUTPUT_DIR}" >> $GITHUB_OUTPUT
mkdir -p ${OUTPUT_DIR}
Expand All @@ -92,7 +96,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{env.DIRECTORY}}/*.tar.gz
file: "${{env.DIRECTORY}}/*.tar.gz"
tag: ${{ github.ref_name }}
file_glob: true
env:
Expand Down

0 comments on commit 628c4c7

Please sign in to comment.