fix upload artifact

This commit is contained in:
Егор 2024-11-09 23:01:24 +05:00 committed by GitHub
parent f2ee70e825
commit d7a97891f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,10 +61,11 @@ jobs:
cmake --build ${{ github.workspace }}/build --target Installer cmake --build ${{ github.workspace }}/build --target Installer
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: windows-installer
# Upload entire repository # Upload entire repository
path: './build' path: './build/installer.exe'
# Test Package # Test Package
package: package:
@ -78,10 +79,11 @@ jobs:
cmake --build ${{ github.workspace }}/build --target Package cmake --build ${{ github.workspace }}/build --target Package
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v4
with: with:
name: package
# Upload entire repository # Upload entire repository
path: './build' path: './build/package.deb'
- name: Install package - name: Install package
run: echo '/home/autobuild/tools' | sudo apt install ${{ github.workspace }}/build/package.deb -y run: echo '/home/autobuild/tools' | sudo apt install ${{ github.workspace }}/build/package.deb -y