Skip to content

Commit

Permalink
Further fix attempts on CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Feb 26, 2024
1 parent dfbee60 commit c72fd3b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c72fd3b

Please sign in to comment.