this repo has no description

Merge pull request #26081 from dra27/ci-cache

Fix caching by running the workflow on master

Changed files
+6
.github
workflows
+6
.github/workflows/windows.yml
···
name: Windows CI
on:
pull_request:
env:
OPAMROOT: D:\opamroot
···
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: List all changed packages
id: changed-packages
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
···
- name: Install packages
env:
ALL_CHANGED_PACKAGES: ${{ steps.changed-packages.outputs.data }}
run: |
$pkgs = $env:ALL_CHANGED_PACKAGES | ConvertFrom-Json
$failed = $false
···
name: Windows CI
on:
+
push:
+
branches:
+
- 'master'
pull_request:
env:
OPAMROOT: D:\opamroot
···
- name: Get changed files
id: changed-files
+
if: github.event_name != 'push'
uses: tj-actions/changed-files@v44
- name: List all changed packages
id: changed-packages
+
if: github.event_name != 'push'
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
···
- name: Install packages
env:
ALL_CHANGED_PACKAGES: ${{ steps.changed-packages.outputs.data }}
+
if: github.event_name != 'push'
run: |
$pkgs = $env:ALL_CHANGED_PACKAGES | ConvertFrom-Json
$failed = $false