Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Somfic/EliteVA
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic committed Apr 7, 2024
2 parents 9263803 + a14e93e commit 6304eca
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,10 +118,9 @@ 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"

- name: Zip plugin
if: github.ref == 'refs/heads/main' && ${{ steps.VERSION.outputs.applicable == 'true' }}
Expand All @@ -137,7 +136,7 @@ jobs:
run: yarn tauri build

- name: Move updater
run: xcopy "src-tauri\target\release\EliteVA.exe" "EliteVA-updater.exe" /Y /I
run: copy "src-tauri\target\release\EliteVA.exe" "EliteVA-updater.exe"

- name: Release
if: github.ref == 'refs/heads/main' && ${{ steps.VERSION.outputs.applicable == 'true' }}
Expand All @@ -146,7 +145,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 6304eca

Please sign in to comment.