Skip to content

Commit

Permalink
Create zip file in main directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic committed Apr 3, 2024
1 parent 24c7335 commit 5a8908d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,17 @@ jobs:
run: dotnet run --project ProfileGenerator -c Release
working-directory: src-plugin

- name: Copy to EliteVA-plugin\EliteVA-${{ steps.VERSION.outputs.semver }}.vap
- name: Copy profile
if: github.ref == 'refs/heads/main' && ${{ steps.VERSION.outputs.applicable == 'true' }}
run: echo F|xcopy "Profile.vap" "EliteVA-${{ steps.VERSION.outputs.semver }}.vap" /Y /I
working-directory: src-plugin
run: copy "src-plugin/Profile.vap" "EliteVA.vap" /Y /I

- name: Zip dist
if: github.ref == 'refs/heads/main' && ${{ steps.VERSION.outputs.applicable == 'true' }}
uses: thedoctor0/zip-release@0.7.1
with:
type: "zip"
filename: "EliteVA.zip"
directory: "src-plugin/EliteVA-plugin"
path: "src-plugin/EliteVA-plugin/*"

- name: Build updater
run: yarn tauri build
Expand All @@ -144,7 +143,7 @@ jobs:
tag_name: ${{ steps.VERSION.outputs.semver }}
files: |
EliteVA.zip
EliteVA-${{ steps.VERSION.outputs.semver }}.vap
EliteVA.vap
EliteVA-updater.exe
prerelease: ${{ steps.extract_branch.outputs.branch != 'main' }}
draft: true

0 comments on commit 5a8908d

Please sign in to comment.