-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e22d1ff
commit 0fd5a22
Showing
51 changed files
with
292 additions
and
552 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,20 +11,15 @@ jobs: | |
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set default Xamarin SDK versions | ||
run: | | ||
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=16.0.0.72 | ||
- name: Set default Xcode 14.1 | ||
|
||
- name: Install Xamarin.iOS package using Homebrew | ||
run: | | ||
XCODE_ROOT=/Applications/Xcode_14.1.0.app | ||
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV | ||
sudo xcode-select -s $XCODE_ROOT | ||
brew install --cask xamarin-ios | ||
- name: Setup .NET Core SDK 6.0.403 | ||
- name: Setup .NET Core SDK 8.x | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '6.0.403' | ||
dotnet-version: '8.0' | ||
|
||
- name: Install ios workload | ||
run: | | ||
|
@@ -34,36 +29,27 @@ jobs: | |
run: | | ||
sh build.sh --target=nuget --base-path=$PWD | ||
- name: Publish with Dotnet CLI | ||
env: | ||
NUGET_PUSH_API_KEY: ${{ secrets.NUGET_PUSH_API_KEY }} | ||
shell: bash | ||
run: | | ||
dotnet nuget push ./nugets/*.nupkg --api-key "$NUGET_PUSH_API_KEY" --source https://api.nuget.org/v3/index.json --skip-duplicate | ||
- name: Publish NuGet and symbols | ||
id: nuget-push | ||
uses: edumserrano/[email protected] | ||
with: | ||
api-key: '${{ secrets.NUGET_PUSH_API_KEY }}' # this example is using GitHub secrets to pass the API key | ||
working-directory: 'nugets' | ||
|
||
# publish: | ||
# runs-on: macos-latest | ||
# steps: | ||
# - name: Publish NuGet and symbols | ||
# id: nuget-push | ||
# uses: edumserrano/[email protected] | ||
# with: | ||
# api-key: '${{ secrets.NUGET_PUSH_API_KEY }}' # this example is using GitHub secrets to pass the API key | ||
# working-directory: 'nugets' | ||
# # The next step is using powershell to parse the action's output but you can use whatever you prefer. | ||
# # Note that in order to read the step outputs the action step must have an id. | ||
# - name: Log output | ||
# if: steps.nuget-push.conclusion != 'skipped' && always() # run regardless if the previous step failed or not, just as long as it wasn't skipped | ||
# shell: pwsh | ||
# run: | | ||
# $pushResult = '${{ steps.nuget-push.outputs.push-result }}' | ConvertFrom-Json | ||
# $pushResultAsJsonIndented = ConvertTo-Json $pushResult | ||
# Write-Output $pushResultAsJsonIndented # outputs the result of the nuget push operation as an indented JSON string | ||
# Write-Output '${{ steps.nuget-push.outputs.status }}' # outputs the overall status of the nuget push action | ||
# The next step is using powershell to parse the action's output but you can use whatever you prefer. | ||
# Note that in order to read the step outputs the action step must have an id. | ||
- name: Log output | ||
if: steps.nuget-push.conclusion != 'skipped' && always() # run regardless if the previous step failed or not, just as long as it wasn't skipped | ||
shell: pwsh | ||
run: | | ||
$pushResult = '${{ steps.nuget-push.outputs.push-result }}' | ConvertFrom-Json | ||
$pushResultAsJsonIndented = ConvertTo-Json $pushResult | ||
Write-Output $pushResultAsJsonIndented # outputs the result of the nuget push operation as an indented JSON string | ||
Write-Output '${{ steps.nuget-push.outputs.status }}' # outputs the overall status of the nuget push action | ||
# # iterates over all list of packages and outputs the data from the nuget push operation for each | ||
# foreach($package in $pushResult.packages) { | ||
# Write-Output "$($package.status)" # outputs the status of the nuget push operation | ||
# Write-Output "$($package.package)" # outputs the NuGet package name that was pushed | ||
# Write-Output "$($package.symbols)" # outputs the symbols package name that was pushed | ||
# } | ||
# iterates over all list of packages and outputs the data from the nuget push operation for each | ||
foreach($package in $pushResult.packages) { | ||
Write-Output "$($package.status)" # outputs the status of the nuget push operation | ||
Write-Output "$($package.package)" # outputs the NuGet package name that was pushed | ||
Write-Output "$($package.symbols)" # outputs the symbols package name that was pushed | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"sdk": | ||
{ | ||
"version": "6.0.403", | ||
"version": "8.0.100", | ||
"rollForward": "latestMinor" | ||
}, | ||
"msbuild-sdks": | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.