Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli authored Jan 22, 2025
1 parent 5b63280 commit 3e1b0d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,18 @@ jobs:
# - name: Unpack BetterGI_*.7z
# run: |
# cd dist
# 7z x "BetterGI_${{ needs.build_dist.outputs.version }}.7z" -o./
# 7z x "BetterGI_${{ needs.build_dist.outputs.version }}.7z"
# - name: Download MicaSetup
# run: |
# $response = Invoke-RestMethod -Uri "https://api.github.com/repos/lemutec/MicaSetup/releases/latest"
# $downloadUrl = $response.assets | Where-Object { $_.name -like "MicaSetup_v*.exe" } | Select-Object -ExpandProperty browser_download_url
# $downloadUrl = $response.assets | Where-Object { $_.name -like "MicaSetup_v*.7z" } | Select-Object -ExpandProperty browser_download_url
# $zipFilePath = "MicaSetup.exe"
# Invoke-WebRequest -Uri $downloadUrl -OutFile $zipFilePath
# 7z x $zipFilePath
# - name: 📦 Pack MicaSetup
# run: |
# cd dist
# ..\makemica micasetup.json
# ..\makemica.exe micasetup.json
# - uses: actions/upload-artifact@v4
# with:
# name: BetterGI_Setup
Expand Down

0 comments on commit 3e1b0d3

Please sign in to comment.