Script to setup Windows 10 1903
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
622 B

name: Patch
on: push # to debug
# on:
# push:
# tags:
# - '*.*.*'
jobs:
patch:
runs-on: windows-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Build 5.x
4 years ago
run: |
4 years ago
if ($env:GITHUB_REF -eq "refs/heads/master") {
4 years ago
$BUILD_DIR = "master"
4 years ago
} else {
4 years ago
$BUILD_DIR = ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’
4 years ago
}
4 years ago
Get-ChildItem Env:
mkdir $BUILD_DIR
cp -R Sophia/* $BUILD_DIR
del -Force -Recurse "$BUILD_DIR/PowerShell 7.x"
gci -Recurse | select FullName