Skip to content

Commit 200916e

Browse files
authored
Merge pull request #82 from pleonex/feature/ci-artifacts
⬆️ Update artifacts GitHub Action tasks
2 parents 8c67cfd + 0328204 commit 200916e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/build-and-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: "Build"
1616
uses: ./.github/workflows/build.yml
1717
with:
18-
dotnet_version: '8.0.100'
18+
dotnet_version: '8.0.101'
1919

2020
# Preview release on push to main only
2121
# Stable release on version tag push only
@@ -25,7 +25,7 @@ jobs:
2525
needs: build
2626
uses: ./.github/workflows/deploy.yml
2727
with:
28-
dotnet_version: '8.0.100'
28+
dotnet_version: '8.0.101'
2929
azure_nuget_feed: 'https://pkgs.dev.azure.com/benito356/NetDevOpsTest/_packaging/PleOps/nuget/v3/index.json'
3030
secrets:
3131
nuget_preview_token: "az" # as we use AzureDevOps, this is a required dummy value

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0 # We need full history for version number
2626

2727
- name: "Setup .NET SDK"
28-
uses: actions/setup-dotnet@v3
28+
uses: actions/setup-dotnet@v4
2929
with:
3030
dotnet-version: ${{ inputs.dotnet_version }}
3131

@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: "Publish artifacts to CI"
4949
if: ${{ matrix.is_main_build }}
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: "Artifacts"
5353
retention-days: 7
@@ -57,6 +57,6 @@ jobs:
5757
5858
- name: Publish docs artifact to CI
5959
if: ${{ matrix.is_main_build }}
60-
uses: actions/upload-pages-artifact@v2
60+
uses: actions/upload-pages-artifact@v3
6161
with:
6262
path: build/artifacts/docs

.github/workflows/deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- name: Deploy to GitHub Pages
3434
id: deployment
35-
uses: actions/deploy-pages@v2
35+
uses: actions/deploy-pages@v4
3636

3737
push_artifacts:
3838
name: "Artifacts"
@@ -44,13 +44,13 @@ jobs:
4444
fetch-depth: 0 # We need full history for version number
4545

4646
- name: "Download artifacts"
47-
uses: actions/download-artifact@v3
47+
uses: actions/download-artifact@v4
4848
with:
4949
name: "Artifacts"
5050
path: "./build/artifacts/"
5151

5252
- name: "Setup .NET SDK"
53-
uses: actions/setup-dotnet@v3
53+
uses: actions/setup-dotnet@v4
5454
with:
5555
dotnet-version: ${{ inputs.dotnet_version }}
5656

0 commit comments

Comments
 (0)