-
Notifications
You must be signed in to change notification settings - Fork 29
35 lines (27 loc) · 1003 Bytes
/
action.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
name: 'Build'
on:
push:
branches: [test]
schedule:
- cron: "0 0 */2 * *"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install Chocolatey and Tools
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install git -y
choco install 7zip --no-progress -y
- name: Check 7-Zip Version
run: '& "C:\\Program Files\\7-Zip\\7z.exe" --version'
- name: Download and Prepare Files
run: .\prepare.ps1
- name: Test 7-Zip Extraction
run: |
& "C:\Program Files\7-Zip\7z.exe" x -y "-oD:\a\win10_emulation_station\win10_emulation_station\requirements" "D:\a\win10_emulation_station\win10_emulation_station\requirements\RetroArch.7z"
- name: Verify File Extraction
run: |
Get-ChildItem "D:\a\win10_emulation_station\win10_emulation_station\requirements"