Skip to content

Commit

Permalink
better workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed May 5, 2024
1 parent 2d900e9 commit 24442fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
file: 'opencc_windows.zip'
token: ${{ secrets.GITHUB_TOKEN }}
- run: Expand-Archive -LiteralPath opencc_windows.zip -DestinationPath build/windows/x64/runner/Release
- run: Compress-Archive build/windows/x64/runner/Release oneAnime_windows_${env:tag}.zip
- run: Compress-Archive build/windows/x64/runner/Release/* oneAnime_windows_${env:tag}.zip
- name: Upload windows outputs
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -140,7 +140,7 @@
token: ${{ secrets.GITHUB_TOKEN }}
- run: unzip opencc_linux.zip -d build/linux/x64/release/bundle/lib
- name: Package linux build output
run: tar -zcvf oneAnime_linux_${{ env.tag }}.tar.gz build/linux/x64/release/bundle/*
run: tar -zcvf oneAnime_linux_${{ env.tag }}.tar.gz -C build/linux/x64/release/bundle .
shell: bash

- name: Upload linux outputs
Expand Down

0 comments on commit 24442fa

Please sign in to comment.