Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Delete invalid projects #1

Delete invalid projects

Delete invalid projects #1

Workflow file for this run

name: Build & Pack
on:
push:
branches:
- main
jobs:
ios_build:
name: iOS Build
runs-on: macos-latest
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Update submodules
run: git submodule update --init --recursive
- name: Restore cake tool
run: dotnet tool restore
- name: Install dotnet workloads
run: |
dotnet workload install android ios tvos --skip-manifest-update
- name: Build
run: |
dotnet cake --build-target=Build
- uses: actions/upload-artifact@v2
with:
name: temp-ios-artifacts
path: Artifacts/Release
retention-days: 1
win_build_and_pack:
name: Windows Build & Pack
needs: ios_build
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Update submodules
run: git submodule update --init --recursive
- name: Restore cake tool
run: dotnet tool restore
- name: Install dotnet android workload
run: |
dotnet workload install android --skip-manifest-update
- name: Build
run: |
dotnet cake --build-target=Build
- name: Retrieve iOS Artifacts
uses: actions/download-artifact@v2
with:
name: temp-ios-artifacts
path: Artifacts/Release
- name: Pack
run: |
dotnet cake --build-target=Pack
- uses: actions/upload-artifact@v2
with:
name: FNA-NET Artifacts
path: Artifacts/*.nupkg