feat: bump version to 0.9 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build iOSFakeRun Windows | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Build | |
run: dotnet build -c Release -o iOSFakeRun-Windows/iOSFakeRun-Windows | |
- name: Get DeveloperDiskImage | |
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows && git clone https://github.com/Mythologyli/DeveloperDiskImage.git --depth=1 | |
- name: Delete iOS 13 or earlier | |
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows/DeveloperDiskImage && ls -name | select-string -pattern "^1[0-3]\..*?" | %{rm $_ -Recurse -Force -Confirm:$false} | |
- name: Delete iOS 9 or earlier | |
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows/DeveloperDiskImage && ls -name | select-string -pattern "^[0-9]\.[0-9].*?" | %{rm $_ -Recurse -Force -Confirm:$false} | |
- name: Clean DeveloperDiskImage folder | |
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows/DeveloperDiskImage && rm .git, *.png, *.py, *.md -Recurse -Force -Confirm:$false | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iOSFakeRun-Windows | |
path: iOSFakeRun-Windows |