Skip to content

Normalize StoreKit2 master-only releases #2

Normalize StoreKit2 master-only releases

Normalize StoreKit2 master-only releases #2

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
build_pack_ios:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode 26.3
run: sudo xcode-select --switch /Applications/Xcode_26.3.app/Contents/Developer
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Install iOS workload
run: dotnet workload install ios --version 10.0.202
- name: Build iOS wrapper
run: |
bash src/Kapusch.StoreKit2ApisForiOSComponents/Native/iOS/build.sh
- name: Build package project
run: |
dotnet build src/Kapusch.StoreKit2ApisForiOSComponents/Kapusch.StoreKit2ApisForiOSComponents.csproj -c Release
- name: Build sample
run: |
dotnet build samples/Kapusch.StoreKit2.iOS.Sample/Kapusch.StoreKit2.iOS.Sample.csproj -c Release
- name: Pack
run: |
dotnet pack src/Kapusch.StoreKit2ApisForiOSComponents/Kapusch.StoreKit2ApisForiOSComponents.csproj -c Release -o artifacts/nuget
- name: Validate nupkg layout
run: python3 scripts/validate-nupkg.py artifacts/nuget/*.nupkg
- uses: actions/upload-artifact@v4
with:
name: nuget
path: artifacts/nuget/*.nupkg