From a0720d19d8390f56e0cfa685e83737f4ba96163f Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Sun, 5 May 2024 16:34:56 -0500 Subject: [PATCH 1/2] Allow running CI manually. (cherry picked from commit 12b8fd15e20b96d0697d6b7aeb0d7733862920fc) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b4bc50..63c4648 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: [master] pull_request: branches: [master] + workflow_dispatch: jobs: build: From 73a39de0e9de1b1e2126ad622edaca3faef3a66b Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Sun, 5 May 2024 16:42:30 -0500 Subject: [PATCH 2/2] Upload artifacts on manual CI runs. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63c4648..db0b215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: - uses: actions/upload-artifact@v4 name: Upload artifacts - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && (startsWith(matrix.os, 'windows-latest') || startsWith(matrix.os, 'ubuntu-latest')) + if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (startsWith(matrix.os, 'windows-latest') || startsWith(matrix.os, 'ubuntu-latest')) with: name: "${{ env.ARTIFACT_NAME }}" path: "extension/build/package/"