From c1f462256770397e91357d05dc566b06c8a92144 Mon Sep 17 00:00:00 2001 From: Robert Zoldi-Kovacs <13298643+ZKRobi@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:22:24 +0100 Subject: [PATCH] Remove variable usage --- .github/workflows/continuous-integration.yml | 8 ++------ .github/workflows/release.yml | 6 ++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 530361442..d4f1fc4d2 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,14 +23,12 @@ jobs: runs-on: windows-latest strategy: matrix: - dotnet-version: [ '${{ vars.DOTNET_VERSION }}' ] - node-version: [ '${{ vars.NODE_VERSION }}' ] + dotnet-version: [ '6.0.x' ] + node-version: [ '20.x' ] steps: - name: Checkout uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - - run: echo Calling setup-node with node-version ${{ vars.NODE_VERSION }} - - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: @@ -46,8 +44,6 @@ jobs: - name: Test JavaScript run: npx lerna run test - - run: echo Calling setup-dotnet with dotnet-version ${{ vars.DOTNET_VERSION }} - - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 810394d70..2adbf8fd7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,11 +54,10 @@ jobs: permissions: id-token: write steps: - - run: echo Calling setup-node with node-version ${{ vars.NODE_VERSION }} - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: ${{ vars.NODE_VERSION }} + node-version: 20.x registry-url: https://registry.npmjs.org/ - run: | lerna publish from-package --no-private --yes @@ -77,10 +76,9 @@ jobs: with: name: packages path: ./packages - - run: echo Calling setup-dotnet with dotnet-version ${{ vars.DOTNET_VERSION }} - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: - dotnet-version: ${{ vars.DOTNET_VERSION }} + dotnet-version: 6.0.x - name: Publish Messaging packages working-directory: ./packages run: |