Skip to content

Commit

Permalink
Reformat path
Browse files Browse the repository at this point in the history
  • Loading branch information
jordantgh committed Oct 3, 2023
1 parent 1791a9a commit 063cf1c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ jobs:
pip install pyinstaller
pyinstaller --onefile --name ${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }} app/main.py
# Debug: List the full path of the generated package
- name: Debug - List full path of the generated package
run: |
echo "Full path of the generated package:"
find $(pwd) -type f -name "${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}*"
# Package the binary
- name: Package Binary on Linux
if: runner.os == 'Linux'
Expand All @@ -70,6 +64,12 @@ jobs:
if: runner.os == 'Windows'
run: Compress-Archive -Path .\dist\${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}.exe -DestinationPath .\${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_windows.zip

# Debug: List the full path of the generated package
- name: Debug - List full path of the generated package
run: |
echo "Full path of the generated package:"
find $(pwd) -type f -name "${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}*"
# Debug: List the contents of the directory
- name: Debug - List directory contents
run: ls -R
Expand All @@ -79,4 +79,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-binary
path: ${{ github.workspace }}/*.{tar.gz,zip}
path: '${{ github.workspace }}/*.tar.gz'

0 comments on commit 063cf1c

Please sign in to comment.