Skip to content

Commit

Permalink
Update pipeline dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Apr 12, 2024
1 parent cf081cf commit b0b7ea3
Show file tree
Hide file tree
Showing 13 changed files with 124 additions and 124 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/admin-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json

Expand All @@ -45,9 +45,9 @@ jobs:
ApiServerAddress: ${{ env.API_SERVER_ADDRESS }}
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install wasm
run: cd src && dotnet workload install wasm-tools wasm-experimental
Expand All @@ -68,7 +68,7 @@ jobs:
run: dotnet publish AdminPanel/src/AdminPanel.Server/AdminPanel.Server.csproj -c Release -p:PwaEnabled=true --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"

- name: Upload server artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: server-bundle
path: ${{env.DOTNET_ROOT}}/server
Expand All @@ -84,7 +84,7 @@ jobs:
steps:

- name: Retrieve server bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: server-bundle

Expand All @@ -93,7 +93,7 @@ jobs:
rm IdentityCertificate.pfx
- name: Extract identity certificate from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './'
fileName: 'IdentityCertificate.pfx'
Expand Down Expand Up @@ -124,13 +124,13 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src\Templates\Boilerplate\Bit.Boilerplate\global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Create project from Boilerplate
run: |
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json

Expand All @@ -196,12 +196,12 @@ jobs:
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database SqlServer --sample Admin --appInsights
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Extract Android signing key from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './AdminPanel/src/Client/AdminPanel.Client.Maui/'
fileName: 'AdminPanel.keystore'
Expand Down Expand Up @@ -240,25 +240,25 @@ jobs:

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
runs-on: macos-13
runs-on: macos-14

steps:

- name: Checkout source code
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15'
xcode-version: '15.3'

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Create project from Boilerplate
run: |
Expand All @@ -282,14 +282,14 @@ jobs:
run: cd src && dotnet workload install maui

- name: Extract iOS code signing certificate from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './'
fileName: 'DistributionCert.p12'
encodedString: ${{ secrets.APPSTORE_CODE_SIGNING_CERTIFICATE_FILE_BASE64 }}

- name: Import Code-Signing Certificates
uses: Apple-Actions/import-codesign-certs@v1
uses: apple-actions/import-codesign-certs@v2
with:
p12-filepath: './DistributionCert.p12'
p12-password: ${{ secrets.APPSTORE_CODE_SIGNING_CERTIFICATE_FILE_PASSWORD }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/bit.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install wasm and maui
run: cd src && dotnet workload install maui-android wasm-tools wasm-experimental
Expand All @@ -44,13 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install wasm and maui
run: cd src && dotnet workload install maui-android wasm-tools wasm-experimental
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bit.full.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install Bit.Boilerplate from local source
run: |
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/blazorui.demo.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

Expand All @@ -35,9 +35,9 @@ jobs:
env:
ApiServerAddress: ${{ env.API_SERVER_ADDRESS }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install wasm
run: cd src && dotnet workload install wasm-tools wasm-experimental
Expand All @@ -52,7 +52,7 @@ jobs:
run: dotnet publish src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj -c Release -p:PwaEnabled=true -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server

- name: Upload server artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: server-bundle
path: ${{env.DOTNET_ROOT}}/server
Expand All @@ -68,7 +68,7 @@ jobs:
steps:

- name: Retrieve server bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: server-bundle

Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src\global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Update appsettings.json api server address
uses: microsoft/variable-substitution@v1
Expand Down Expand Up @@ -150,16 +150,16 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Extract Android signing key from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/'
fileName: 'BitBlazorUIDemo.keystore'
Expand Down Expand Up @@ -192,25 +192,25 @@ jobs:

build_blazor_hybrid_ios:
name: build blazor hybrid (iOS-macOS)
runs-on: macos-13
runs-on: macos-14

steps:

- name: Checkout source code
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15'
xcode-version: '15.3'

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Update appsettings.json api server address
uses: microsoft/variable-substitution@v1
Expand All @@ -223,14 +223,14 @@ jobs:
run: cd src && dotnet workload install maui

- name: Extract iOS code signing certificate from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './'
fileName: 'DistributionCert.p12'
encodedString: ${{ secrets.APPSTORE_CODE_SIGNING_CERTIFICATE_FILE_BASE64 }}

- name: Import Code-Signing Certificates
uses: Apple-Actions/import-codesign-certs@v1
uses: apple-actions/import-codesign-certs@v2
with:
p12-filepath: './DistributionCert.p12'
p12-password: ${{ secrets.APPSTORE_CODE_SIGNING_CERTIFICATE_FILE_PASSWORD }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nuget.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Delete AssemblyOriginatorKeyFile.snk
run: |
rm src/AssemblyOriginatorKeyFile.snk
- name: Extract strong sign certificate from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './src/'
fileName: 'AssemblyOriginatorKeyFile.snk'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/platform.website.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

Expand All @@ -37,7 +37,7 @@ jobs:
run: dotnet publish src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj -c Release --self-contained -r linux-x64 -o server

- name: Upload server artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: server-bundle
path: server
Expand All @@ -53,7 +53,7 @@ jobs:
steps:

- name: Retrieve server bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: server-bundle

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prerelease.nuget.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ jobs:
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: src/global.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Delete AssemblyOriginatorKeyFile.snk
run: |
rm src/AssemblyOriginatorKeyFile.snk
- name: Extract strong sign certificate from env
uses: timheuer/base64-to-file@v1
uses: timheuer/base64-to-file@v1.2
with:
fileDir: './src/'
fileName: 'AssemblyOriginatorKeyFile.snk'
Expand Down
Loading

0 comments on commit b0b7ea3

Please sign in to comment.