Skip to content

Commit

Permalink
Simplify plugin upload workflow
Browse files Browse the repository at this point in the history
Replaced individual plugin upload steps with a single reusable `plugin-update` action to streamline the GitHub Actions workflow. This change improves maintainability by reducing redundant code and centralizing the upload logic.
  • Loading branch information
ivandrofly committed Nov 23, 2024
1 parent fa1fb85 commit 7f9456d
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,10 @@ jobs:
run: source\zip-plugin-files.ps1

# Upload plugins/artifacts
- name: Upload HI2UC
uses: actions/upload-artifact@v4
- uses: ./.github/plugin-update
with:
name: HI2UC
path: C:\plugins\HI2UC.dll
file-name: HI2UC

- name: Upload HIColorer
uses: actions/upload-artifact@v4
- uses: ./.github/plugin-update
with:
name: HIColorer
path: C:\plugins\HIColorer.dll

- name: Upload TightHyphen
uses: actions/upload-artifact@v4
with:
name: TightHyphen
path: C:\plugins\TightHyphen.dll

- name: Upload NoRecursiveDash
uses: actions/upload-artifact@v4
with:
name: NoRecursiveDash
path: C:\plugins\NoRecursiveDash.dll

- name: Upload LinesUnbreaker
uses: actions/upload-artifact@v4
with:
name: LinesUnbreaker
path: C:\plugins\LinesUnbreaker.dll
file-name: HIColorer

0 comments on commit 7f9456d

Please sign in to comment.