Skip to content

Commit

Permalink
Add artifact upload step to CI workflow
Browse files Browse the repository at this point in the history
This commit adds a step to upload build artifacts using GitHub Actions. The artifacts, specifically plugin ZIP files, will be uploaded from the specified directory. This enhances the CI process by automatically archiving build outputs.
  • Loading branch information
ivandrofly committed Nov 21, 2024
1 parent cf0bdc5 commit 5c978f1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,18 @@ jobs:
# Build the solution
- name: Build solution
run: msbuild "source\Plugins.Filter.slnf" /p:Configuration=Release /p:SkipSharedProject=true

- name: Create archives
shell: pwsh
run: source\zip-plugin-files.ps1
# Run tests (optional)
#- name: Run tests
#run: |

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Plugins
path: C:\plugins\*.zip

# Run tests (optional)
#- name: Run tests
#run: |
#vstest.console.exe path\to\your\test\project.dll

1 comment on commit 5c978f1

@ivandrofly
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be changed as we want to upload plugins individually

Please sign in to comment.