diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index afb87d0..cd64c0f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: true matrix: - dotnet-verion: [ '6.0.x', '7.0.x', '8.0.x' ] + dotnet: [ '6.0.x', '7.0.x', '8.0.x' ] os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} @@ -22,21 +22,21 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET ${{ matrix.dotnet-version }} + - name: Setup .NET ${{ matrix.dotnet }} uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ matrix.dotnet-version }} + dotnet-version: ${{ matrix.dotnet }} - name: Set the TFM for .NET 6.0 - if: ${{ matrix.dotnet-version }} == '6.0.x' + if: matrix.dotnet == '6.0.x' run: echo "DOTNET_TFM=net6.0" >> $GITHUB_ENV - name: Set the TFM for .NET 7.0 - if: ${{ matrix.dotnet-version }} == '7.0.x' + if: matrix.dotnet-version == '7.0.x' run: echo "DOTNET_TFM=net7.0" >> $GITHUB_ENV - name: Set the TFM for .NET 8.0 - if: ${{ matrix.dotnet-version }} == '8.0.x' + if: matrix.dotnet-version == '8.0.x' run: echo "DOTNET_TFM=net8.0" >> $GITHUB_ENV - name: Restore dependencies diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 385b74e..ff3bfcd 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,29 +14,29 @@ jobs: strategy: fail-fast: true matrix: - dotnet-verion: [ '6.0.x', '7.0.x', '8.0.x' ] + dotnet: [ '6.0.x', '7.0.x', '8.0.x' ] os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Setup .NET ${{ matrix.dotnet-version }} - uses: actions/setup-dotnet@v3 + - name: Setup .NET ${{ matrix.dotnet }} + uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ matrix.dotnet-version }} + dotnet-version: ${{ matrix.dotnet }} - name: Set the TFM for .NET 6.0 - if: ${{ matrix.dotnet-version }} == '6.0.x' + if: matrix.dotnet == '6.0.x' run: echo "DOTNET_TFM=net6.0" >> $GITHUB_ENV - name: Set the TFM for .NET 7.0 - if: ${{ matrix.dotnet-version }} == '7.0.x' + if: matrix.dotnet == '7.0.x' run: echo "DOTNET_TFM=net7.0" >> $GITHUB_ENV - name: Set the TFM for .NET 8.0 - if: ${{ matrix.dotnet-version }} == '8.0.x' + if: matrix.dotnet == '8.0.x' run: echo "DOTNET_TFM=net8.0" >> $GITHUB_ENV - name: Restore dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e83d12..9ac5164 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: true matrix: - dotnet-verion: [ '6.0.x', '7.0.x', '8.0.x' ] + dotnet: [ '6.0.x', '7.0.x', '8.0.x' ] steps: - uses: actions/checkout@v4 @@ -25,21 +25,21 @@ jobs: TAG=${{ github.event.release.tag_name }} echo "VERSION=${TAG#v}" >> $GITHUB_ENV - - name: Setup .NET ${{ matrix.dotnet-version }} + - name: Setup .NET ${{ matrix.dotnet }} uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ matrix.dotnet-version }} + dotnet-version: ${{ matrix.dotnet }} - name: Set the TFM for .NET 6.0 - if: ${{ matrix.dotnet-version }} == '6.0.x' + if: matrix.dotnet == '6.0.x' run: echo "DOTNET_TFM=net6.0" >> $GITHUB_ENV - name: Set the TFM for .NET 7.0 - if: ${{ matrix.dotnet-version }} == '7.0.x' + if: matrix.dotnet == '7.0.x' run: echo "DOTNET_TFM=net7.0" >> $GITHUB_ENV - name: Set the TFM for .NET 8.0 - if: ${{ matrix.dotnet-version }} == '8.0.x' + if: matrix.dotnet == '8.0.x' run: echo "DOTNET_TFM=net8.0" >> $GITHUB_ENV - name: Restore dependencies