Skip to content

Commit a014b3c

Browse files
authored
Update e2e-main.yaml
1 parent afc682a commit a014b3c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/e2e-main.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
MODE: ${{ inputs.mode }}
5555
steps:
5656
- uses: actions/checkout@v4
57-
if: github.event_name == 'workflow_dispatch'
57+
if: github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_run'
5858
with:
5959
repository: ${{ github.event.inputs.organization }}/${{ github.event.inputs.repositoryName }}
6060
ref: ${{ github.event.inputs.branch }}
@@ -70,7 +70,7 @@ jobs:
7070
EVENT: ${{ github.event_name }}
7171
run: |
7272
repository=podman-desktop-redhat-account-ext
73-
if [[ "$EVENT" == 'workflow_dispatch' ]]; then
73+
if [[ "$EVENT" == 'workflow_dispatch' || "$EVENT" == 'workflow_run' ]]; then
7474
repository=${{ github.event.inputs.repositoryName }}
7575
fi
7676
echo "REPOSITORY=$repository" >> $GITHUB_ENV
@@ -86,11 +86,12 @@ jobs:
8686
name: Install pnpm
8787
with:
8888
run_install: false
89-
package_json_file: ./podman-desktop/package.json
89+
package_json_file: ./podman-desktop-redhat-account-ext/package.json
9090

9191
- uses: actions/setup-node@v4
9292
with:
9393
node-version: 20
94+
cache: 'pnpm'
9495

9596
- name: Update podman v. 5.x
9697
run: |

0 commit comments

Comments
 (0)