Skip to content

Commit 74fe37d

Browse files
authored
Merge pull request #493 from ActiveLogin/build/upload_artifact_v4
build(gh): use upload artifact v4
2 parents 1ccbbe2 + 76cf0a9 commit 74fe37d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232

3333
- name: Setup .NET Core SDK
3434
uses: actions/setup-dotnet@v4
35-
35+
3636
- name: Dotnet restore
3737
run: dotnet restore --verbosity ${{ env.dotnetVerbosity }}
3838
shell: pwsh
39-
39+
4040
- name: Dotnet build
4141
run: dotnet build --configuration ${{ env.dotnetBuildConfiguration }} --verbosity ${{ env.dotnetVerbosity }}
4242
shell: pwsh
@@ -53,7 +53,7 @@ jobs:
5353
shell: pwsh
5454
env:
5555
ciOutputFolder: ${{ runner.temp }}/ci
56-
56+
5757
- name: 'Dotnet pack: release'
5858
run: |
5959
dotnet pack ./src/ActiveLogin.Authentication.BankId.Api/ActiveLogin.Authentication.BankId.Api.csproj --output ${{ env.releaseOutputFolder }} --configuration ${{ env.dotnetBuildConfiguration }} --verbosity ${{ env.dotnetVerbosity }} /p:Configuration=${{ env.dotnetBuildConfiguration }} /p:RepositoryBranch=${{ env.sourceRepositoryBranch }} /p:RepositoryCommit=${{ env.sourceRepositoryCommit }}
@@ -72,8 +72,8 @@ jobs:
7272
shell: pwsh
7373

7474
- name: Upload packages
75-
uses: actions/upload-artifact@v3
76-
with:
75+
uses: actions/upload-artifact@v4
76+
with:
7777
name: ${{ matrix.artifactName }}
7878
path: |
7979
${{ runner.temp }}/ci
@@ -134,14 +134,14 @@ jobs:
134134
- name: Create Zip-files
135135
run : |
136136
New-Item -Path $env:RUNNER_TEMP/ -Name "zip" -ItemType "directory"
137-
Compress-Archive -Path $env:RUNNER_TEMP"/publish/AzureProvisioningSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/AzureProvisioningSample.zip"
138-
Compress-Archive -Path $env:RUNNER_TEMP"/publish/IdentityServer.ClientSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/IdentityServer.ClientSample.zip"
139-
Compress-Archive -Path $env:RUNNER_TEMP"/publish/IdentityServer.ServerSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/IdentityServer.ServerSample.zip"
140-
Compress-Archive -Path $env:RUNNER_TEMP"/publish/Standalone.MvcSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/Standalone.MvcSample.zip"
137+
Compress-Archive -Path $env:RUNNER_TEMP"/publish/AzureProvisioningSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/AzureProvisioningSample.zip"
138+
Compress-Archive -Path $env:RUNNER_TEMP"/publish/IdentityServer.ClientSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/IdentityServer.ClientSample.zip"
139+
Compress-Archive -Path $env:RUNNER_TEMP"/publish/IdentityServer.ServerSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/IdentityServer.ServerSample.zip"
140+
Compress-Archive -Path $env:RUNNER_TEMP"/publish/Standalone.MvcSample/*" -DestinationPath $env:RUNNER_TEMP"/zip/Standalone.MvcSample.zip"
141141
shell: pwsh
142142

143143
- name: Upload samples
144-
uses: actions/upload-artifact@v3
145-
with:
144+
uses: actions/upload-artifact@v4
145+
with:
146146
name: ${{ matrix.artifactName }}
147147
path: ${{ runner.temp }}/zip

0 commit comments

Comments
 (0)