Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
muxueqz committed Nov 14, 2024
1 parent 2954b8b commit adc317e
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
nim -v
nimble refresh
nimble install markdown nimja
nim c -d:release -o:kun-${{ matrix.os }} build.nim
mkdir dist/
nim c -d:release -o:dist/kun-${{ matrix.os }} build.nim
Expand All @@ -50,30 +49,8 @@ jobs:
nim c -d:release -o:dist/kun-${{ matrix.os }} build.nim
- name: Publish release on GitHub
if: runner.os != 'Windows'
uses: softprops/action-gh-release@v2
with:
files: dist/kun-${{ matrix.os }} # Include the OS in the artifact name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: List Files
if: runner.os == 'Windows' # For Windows
run: |
dir
ls
- name: Publish release on GitHub(Windows)
if: runner.os == 'Windows'
uses: softprops/action-gh-release@v2
with:
files: kun-${{ matrix.os }}* # Include the OS in the artifact name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish release on GitHub(Windows)
if: runner.os == 'Windows'
uses: softprops/action-gh-release@v2
with:
files: dist/kun-${{ matrix.os }}* # Include the OS in the artifact name
files: dist/kun-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit adc317e

Please sign in to comment.