Skip to content

Commit

Permalink
Update pack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CHNZYX authored Jun 28, 2024
1 parent db1e2f8 commit af93e9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ jobs:
- name: Create zip archive
if: startsWith(github.ref, 'refs/tags/')
run: |
Rename-Item -Path AutoSimulatedUniverse -NewName AutoSimulatedUniverse_${{ github.ref_name }}
Compress-Archive -Path AutoSimulatedUniverse_${{ github.ref_name }}\ -DestinationPath AutoSimulatedUniverse_${{ github.ref_name }}.zip -Force
$files = Get-ChildItem -Path AutoSimulatedUniverse -Recurse
Compress-Archive -Path $files.FullName -DestinationPath "AutoSimulatedUniverse_${{ github.ref_name }}.zip" -Force
- name: Create release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
name: AutoSimulatedUniverse_${{ github.ref_name }}
name: ${{ github.ref_name }}
files: |
AutoSimulatedUniverse_${{ github.ref_name }}.zip
prerelease: true
Expand Down

0 comments on commit af93e9b

Please sign in to comment.