forked from MinoruSekine/setup-scoop
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 959 Bytes
/
run_as_admin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: run_as_admin
on:
pull_request:
push:
branches:
- main
schedule:
- cron: 0 8 * * 1
workflow_dispatch:
jobs:
GitHub_default_runner_without_RunAsAdmin:
strategy:
matrix:
os: [windows-latest, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
- if: ${{ github.event_name == 'pull_request' }}
name: Run actions locally
uses: ./
with:
run_as_admin: false
continue-on-error: true
- if: >
${{ github.event_name == 'push'
|| github.event_name == 'workflow_dispatch' }}
uses: winpax/scoop-setup@main
with:
run_as_admin: false
continue-on-error: true
- if: ${{ github.event_name == 'schedule' }}
uses: winpax/scoop-setup@v4
with:
run_as_admin: false
continue-on-error: true