Skip to content

Commit 908e84f

Browse files
authored
chore(Build): Fix Package Validation (#267)
1 parent 2a4b46d commit 908e84f

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
tar -xf /tmp/eventide/message-db.tgz --directory /tmp/eventide
3939
(cd /tmp/eventide/message-db-${MESSAGE_DB_VERSION}/database && ./install.sh)
4040
41+
- name: Setup .NET
42+
uses: actions/setup-dotnet@v4
43+
with:
44+
global-json-file: global.json
4145
- name: Build
4246
run: dotnet build Propulsion.sln --configuration Release
4347

azure-pipelines.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
pool:
2525
vmImage: 'ubuntu-latest'
2626
steps:
27+
- task: UseDotNet@2
28+
displayName: Temp workaround for ubuntu-latest installing SDK 8.x
29+
inputs:
30+
useGlobalJson: true
2731
- script: |
2832
docker network create kafka-net
2933
docker run -d --name zookeeper --network kafka-net --publish 2181:2181 zookeeper:3.4
@@ -47,9 +51,5 @@ jobs:
4751
pool:
4852
vmImage: 'macOS-latest'
4953
steps:
50-
- task: UseDotNet@2
51-
displayName: Temp workaround for macOS-latest installing SDK 9.0.202 with F# compiler issue
52-
inputs:
53-
useGlobalJson: true
5454
- script: dotnet pack build.proj
5555
displayName: dotnet pack build.proj

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.101",
3+
"version": "9.0.304",
44
"rollForward": "latestMajor"
55
}
66
}

0 commit comments

Comments
 (0)