Skip to content

Commit 4808898

Browse files
authored
Update GitHub workflows to remove build project from the solution (#44)
* JDCMT-238 Updated ci-gated.yml * JDCMT-238 Update ci-server-integration.yml * JDCMT-238 Update ci-server-production.yml * Update ci-server-staging.yml JDCMT-238 * Update upload-artifact to the latest version * Updated all upload-artifact to the latest version * Set unique artifacts name in server-sideloads.yml * Remove unknown flag * Change .NET version to 6.0.x
1 parent 7d5c4fe commit 4808898

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/ci-gated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: dotnet restore
4545

4646
- name: Run build powershell script
47-
run: ./build/build.ps1 --isGatedBuild=True --no-restore
47+
run: dotnet build -c Release --no-restore
4848
shell: powershell
4949

5050
- name: Run tests

.github/workflows/ci-server-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup .NET
3434
uses: actions/setup-dotnet@v1
3535
with:
36-
dotnet-version: "6.0.x"
36+
dotnet-version: "8.0.x"
3737

3838
- name: Setup Node
3939
uses: actions/setup-node@v3
@@ -44,7 +44,7 @@ jobs:
4444
run: dotnet restore
4545

4646
- name: Run build powershell script
47-
run: ./build/build.ps1 --no-restore
47+
run: dotnet build -c Release --no-restore
4848
shell: powershell
4949

5050
- name: Run Tests

.github/workflows/ci-server-production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v1
3232
with:
33-
dotnet-version: "6.0.x"
33+
dotnet-version: "8.0.x"
3434

3535
- name: Setup Node
3636
uses: actions/setup-node@v3
@@ -41,7 +41,7 @@ jobs:
4141
run: dotnet restore
4242

4343
- name: Run build powershell script
44-
run: ./build/build.ps1 --no-restore
44+
run: dotnet build -c Release --no-restore
4545
shell: powershell
4646

4747
- name: Run Tests

.github/workflows/ci-server-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v1
3232
with:
33-
dotnet-version: "6.0.x"
33+
dotnet-version: "8.0.x"
3434

3535
- name: Setup Node
3636
uses: actions/setup-node@v3
@@ -41,7 +41,7 @@ jobs:
4141
run: dotnet restore
4242

4343
- name: Run build powershell script
44-
run: ./build/build.ps1 --no-restore
44+
run: dotnet build -c Release --no-restore
4545
shell: powershell
4646

4747
- name: Run Tests

.github/workflows/server-sideloads.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
popd
2929
3030
- name: Upload a Build Artifact
31-
uses: actions/upload-artifact@v2.2.3
31+
uses: actions/upload-artifact@v4.4.0
3232
with:
33-
name: myartifact
33+
name: myartifact-integration
3434
path: ${{ github.workspace }}/Jira.Server.Sideload.${{ github.run_number }}-Integration.zip
3535

3636
- name: Update config.json
@@ -43,9 +43,9 @@ jobs:
4343
popd
4444
4545
- name: Upload a Build Artifact
46-
uses: actions/upload-artifact@v2.2.3
46+
uses: actions/upload-artifact@v4.4.0
4747
with:
48-
name: myartifact
48+
name: myartifact-staging
4949
path: ${{ github.workspace }}/Jira.Server.Sideload.${{ github.run_number }}-Staging.zip
5050

5151
- name: Update config.json
@@ -58,8 +58,8 @@ jobs:
5858
popd
5959
6060
- name: Upload a Build Artifact
61-
uses: actions/upload-artifact@v2.2.3
61+
uses: actions/upload-artifact@v4.4.0
6262
with:
63-
name: myartifact
63+
name: myartifact-production
6464
path: ${{ github.workspace }}/Jira.Server.Sideload.${{ github.run_number }}-Production.zip
6565

0 commit comments

Comments
 (0)