Skip to content

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #38

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #38

Workflow file for this run

name: HealthKitData.iOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
jobs:
build:
name: Build iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: nuget restore
- name: Build
run: msbuild HealthKitData.iOS/HealthKitData.iOS.csproj /verbosity:normal /t:Rebuild
- name: Pack
run: msbuild HealthKitData.iOS/HealthKitData.iOS.csproj -p:Configuration=Release -t:Pack
- uses: actions/upload-artifact@v2
with:
name: nupkg
path: HealthKitData.iOS/**/*.nupkg
release:
name: Release
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/release-ios-')
steps:
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
- uses: actions/[email protected]
with:
name: nupkg
- name: Publish
run: nuget push /**/*.nupkg -Source https://www.nuget.org