Skip to content

Commit

Permalink
update release upload (this must be last please!!!!!!!)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakkyoi committed Jul 17, 2024
1 parent 18f0c84 commit c6c2836
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,10 @@ jobs:
- run: pip install -r requirements.txt pyinstaller Pillow
- run: pyinstaller main.py --onefile --collect-data=grapheme --name=ncp-${{ matrix.name }}
- run: ./dist/ncp-${{ matrix.name }} --help
- id: vars
run: |
if [[ '${{ matrix.os }}' == 'windows-latest' ]]; then
echo "sha_short=$(git rev-parse --short HEAD)" | Out-File -FilePath $GITHUB_OUTPUT -Append
else
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
fi
shell: bash
- if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- if: matrix.os == 'windows-latest'
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $Env:GITHUB_OUTPUT
- uses: softprops/action-gh-release@v1
with:
files: dist/*
Expand Down

0 comments on commit c6c2836

Please sign in to comment.