From be1df2c0f80f9ee0bbcebb1165d636ebfb022c20 Mon Sep 17 00:00:00 2001 From: Pavel <68122101+red-prig@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:53:41 +0300 Subject: [PATCH] Add artifacts --- .github/workflows/main.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 523fc2fa..f4d64c93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,14 +29,23 @@ jobs: - name: Compile shell: cmd working-directory: ./ - run: lazbuild -B fpPS4.lpi > nul + run: | + lazbuild -B fpPS4.lpi > nul + strip fpPS4.exe + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + if: ${{ !startsWith(github.ref, 'refs/tags/') }} + with: + name: fpPS4 + path: fpPS4.exe + if-no-files-found: warn - name: Pack shell: cmd working-directory: ./ if: startsWith(github.ref, 'refs/tags/') run: | - strip fpPS4.exe mkdir sce_module echo "put libSceNgs2.prx here" > sce_module/info.txt zip -9 -qq -r "fpPS4_%GITHUB_REF_NAME%.zip" "fpPS4.exe" "shaders/*.spv" "sce_module/info.txt"