Skip to content

Commit

Permalink
Chore: remove py
Browse files Browse the repository at this point in the history
  • Loading branch information
yaling888 committed Jun 20, 2022
1 parent 3909562 commit 7adb25f
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Build
run: |
go install github.com/akavel/rsrc@latest
mkdir -p bin/core/py
mkdir -p bin/core
mkdir released
cd service && make windows-amd64 && cd ..
Expand All @@ -36,10 +36,10 @@ jobs:
curl -LO "https://github.com/yaling888/clash/releases/download/plus_pro/clash-plus-pro-windows-amd64-$core_version.zip"
curl -LO "https://github.com/yaling888/clash/releases/download/plus_pro/clash-plus-pro-windows-amd64-v3-$core_version.zip"
Expand-Archive -Path "clash-plus-pro-windows-amd64-$core_version.zip" -DestinationPath .
Expand-Archive -Path "clash-plus-pro-windows-amd64-v3-$core_version.zip" -DestinationPath .
Remove-Item -Force version.txt
Remove-Item -Force "clash-plus-pro-windows-amd64-$core_version.zip"
Remove-Item -Force "clash-plus-pro-windows-amd64-v3-$core_version.zip"
cd ../
Expand Down Expand Up @@ -69,24 +69,24 @@ jobs:
Compress-Archive -Path . -DestinationPath ../released/SoulX-windows-amd64-$(git describe --tags --always).zip
cd core
Remove-Item -Force "clash-plus-pro-windows-amd64.exe"
Remove-Item -Force "clash-plus-pro-windows-amd64-v3-$core_version.zip"
Remove-Item -Force "clash-plus-pro-windows-amd64-v3.exe"
Remove-Item -Force "clash-plus-pro-windows-amd64-$core_version.zip"
cd ../
Compress-Archive -Path . -DestinationPath ../released/SoulX-windows-amd64-without-core-$(git describe --tags --always).zip
- name: Set sha date
id: sha_date
run: |
echo "::set-output name=file_sha::$(git describe --tags --always)"
echo "::set-output name=file_date::$(Get-Date -Format 'yyyy-MM-dd')"
#- name: Set sha date
# id: sha_date
# run: |
# echo "::set-output name=file_sha::$(git describe --tags --always)"
# echo "::set-output name=file_date::$(Get-Date -Format 'yyyy-MM-dd')"

- name: Upload files to Artifacts
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/') == false
with:
name: SoulX-windows-amd64-${{ steps.sha_date.outputs.file_sha }}-${{ steps.sha_date.outputs.file_date }}
path: |
released/*
#- name: Upload files to Artifacts
# uses: actions/upload-artifact@v2
# if: startsWith(github.ref, 'refs/tags/') == false
# with:
# name: SoulX-windows-amd64-${{ steps.sha_date.outputs.file_sha }}-${{ steps.sha_date.outputs.file_date }}
# path: |
# released/*

- name: Upload Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 7adb25f

Please sign in to comment.