Skip to content

Commit

Permalink
chore: Adjust targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jan 9, 2024
1 parent ed9212a commit 4811038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:

if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
container: 'unoplatform/wasm-build:3.0'
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
Expand All @@ -37,12 +36,7 @@ jobs:
with:
useConfigFile: true
configFilePath: gitversion.yml

- name: Setup dotnet 5.0.x
uses: actions/[email protected]
with:
dotnet-version: '5.0.x'


- uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.100'
Expand Down
8 changes: 3 additions & 5 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- task: DotNetCoreInstaller@0
inputs:
version: '2.1.504'

- task: PowerShell@2
displayName: Authenticode Sign Packages
inputs:
Expand All @@ -56,8 +56,6 @@ jobs:
publishLocation: Container

- job: Linux
container: unoplatform/wasm-build:3.0

pool:
vmImage: 'ubuntu-latest'

Expand All @@ -76,13 +74,13 @@ jobs:
version: 5.x

- task: UseDotNet@2
displayName: 'Use .NET 7 SDK'
displayName: 'Use .NET SDK'
inputs:
version: 8.0.100
includePreviewVersions: true

- bash: |
dotnet msbuild /r /p:Configuration=Release "/p:PackageOutputPath=$(build.artifactstagingdirectory)\nuget" "/p:PackageVersion=$GITVERSION_FULLSEMVER" "/p:InformationalVersion=$GITVERSION_INFORMATIONALVERSION" ./src/samples/EFCoreSample/EFCoreSample.Wasm/EFCoreSample.Wasm.csproj
dotnet build -c Release "/p:PackageOutputPath=$(build.artifactstagingdirectory)\nuget" "/p:PackageVersion=$GITVERSION_FULLSEMVER" "/p:InformationalVersion=$GITVERSION_INFORMATIONALVERSION" ./src/samples/EFCoreSample/EFCoreSample.Wasm/EFCoreSample.Wasm.csproj
displayName: 'Build Wasm Head'
Expand Down

0 comments on commit 4811038

Please sign in to comment.