diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 77c44a8..0d919fc 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -7,7 +7,7 @@ on: jobs: run-docfx: - if: "!(contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[ci skip]'))" + if: ${{ !(contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[ci skip]')) }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/build-master.yaml b/.github/workflows/build-master.yaml index 7d28536..a528205 100644 --- a/.github/workflows/build-master.yaml +++ b/.github/workflows/build-master.yaml @@ -15,10 +15,6 @@ jobs: steps: - uses: actions/checkout@v3 - uses: Cysharp/Actions/.github/actions/setup-dotnet@main - with: - dotnet-version: | - 6.0.x - 7.0.x - run: dotnet build -c Debug -p:DefineConstants=RUNNING_IN_CI - run: dotnet pack ./src/LogicLooper/LogicLooper.csproj -c Debug --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg - run: dotnet test -c Debug --no-build @@ -35,9 +31,5 @@ jobs: steps: - uses: actions/checkout@v3 - uses: Cysharp/Actions/.github/actions/setup-dotnet@main - with: - dotnet-version: | - 6.0.x - 7.0.x - run: dotnet build -c Release -p:DefineConstants=RUNNING_IN_CI - run: dotnet test -c Release --no-build diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 9a41210..0e28d37 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -22,10 +22,6 @@ jobs: steps: - uses: actions/checkout@v3 - uses: Cysharp/Actions/.github/actions/setup-dotnet@main - with: - dotnet-version: | - 6.0.x - 7.0.x - run: dotnet build -c Release -p:VersionPrefix=${{ env.GIT_TAG }} -p:DefineConstants=RUNNING_IN_CI - run: dotnet test -c Release --no-build - run: dotnet pack -c Release --no-build -p:VersionPrefix=${{ env.GIT_TAG }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o ./publish