Skip to content

Commit

Permalink
Remove actions for MAUI on Build and Release workflow (#484)
Browse files Browse the repository at this point in the history
* Remove actions for MAUI on  Build and Release workflow

* Update all actions to latest and Remove actions for MAUI on Unit testing workflow
  • Loading branch information
runceel authored Jul 14, 2024
1 parent 48dbc14 commit 390f345
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,11 @@ jobs:
outputs:
version: ${{ steps.set-version-to-output.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Install MAUI
run: dotnet workload install maui
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Update version number
shell: pwsh
run: |
Expand Down Expand Up @@ -62,7 +54,7 @@ jobs:
needs: build
steps:
- name: Download archives
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
- name: Publish packages
Expand All @@ -73,7 +65,7 @@ jobs:
needs: build
steps:
- name: Download archives
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/dotnet-core-unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Install MAUI
run: dotnet workload install maui
- name: Install dependencies
run: dotnet restore ReactiveProperty.sln
- name: Test
Expand Down

0 comments on commit 390f345

Please sign in to comment.