Skip to content

Commit

Permalink
who forgets to check the repo out first
Browse files Browse the repository at this point in the history
  • Loading branch information
SaViGnAnO authored Sep 24, 2021
1 parent 21d20ba commit 0400ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
defaults:
run:
shell: pwsh
working-directory: ./Maui.CameraTools
steps:
- uses: action/checkout@v2
- name: Install Required Workloads
run: dotnet workload install --no-cache --disable-parallel android-aot ios maccatalyst maui wasm-tools --skip-manifest-update --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rc.1.21458.32-shipping/nuget/v3/index.json"
- name: Restore Dependencies
run: dotnet restore Maui.CameraTools.csproj
run: dotnet restore
- name: Build Solution
run: |
$VERSION=$env:GITHUB_REF.Substring($env:GITHUB_REF.LastIndexOf('/') + 1)
echo "PACKAGE VERSION: $VERSION"
dotnet build --no-restore -p:PackageVersion=$VERSION Maui.CameraTools.scsproj
- name: Pack Nuget Package
run: dotnet pack --include-symbols -o ./nuget Maui.CameraTools.scsproj
run: dotnet pack --include-symbols -o ./nuget
# - name: Publish Nuget Package
# run: dotnet nuget push .\nuget\*.nupkg -s "nuget.org" -k ${{ secrets.NUGET_API_KEY }}

0 comments on commit 0400ac4

Please sign in to comment.