Update test.yml

+ Fix names of targets
+ Add install/remove tests for chocolatey package
This commit is contained in:
Егор 2024-11-16 19:56:36 +05:00 committed by GitHub
parent e81277efc3
commit 0a93ba45c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ jobs:
- name: Build
run: |
cmake -B ${{ github.workspace }}/build
cmake --build ${{ github.workspace }}/build --target Package
cmake --build ${{ github.workspace }}/build --target deb
- name: Upload artifact
uses: actions/upload-artifact@v4
@ -113,11 +113,17 @@ jobs:
- name: Build
run: |
cmake -B ${{ github.workspace }}/build
cmake --build ${{ github.workspace }}/build --target
cmake --build ${{ github.workspace }}/build --target choco
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: choco-package
# Upload entire repository
path: './build/'
path: './build/choco-package.nupkg'
- name: Install package
run: choco install ${{ github.workspace }}\build\choco-package.nupkg
- name: Remove package
run: choco uninstall kos32-gcc