From 8f3fbaf97be01b0e3f6f9fc126cf93e03163bf23 Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Wed, 15 Nov 2023 00:22:07 +0100 Subject: [PATCH] Update GitHub Actions --- .github/workflows/ci.yaml | 14 ++---------- .github/workflows/publish.yaml | 40 +--------------------------------- 2 files changed, 3 insertions(+), 51 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0b03322..81205d5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,20 +12,10 @@ jobs: build: name: Build if: "!contains(github.event.head_commit.message, 'skip-ci')" - strategy: - matrix: - kind: ['linux', 'windows', 'macOS'] - include: - - kind: linux - os: ubuntu-latest - - kind: windows - os: windows-latest - - kind: macOS - os: macos-latest - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 61525a5..4f42a47 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,55 +16,17 @@ env: jobs: - ################################################### - # BUILD - ################################################### - - build: - name: Build - if: "!contains(github.event.head_commit.message, 'skip-ci')" - strategy: - matrix: - kind: ['linux', 'windows', 'macOS'] - include: - - kind: linux - os: ubuntu-latest - - kind: windows - os: windows-latest - - kind: macOS - os: macos-latest - runs-on: ${{ matrix.os }} - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: 'Get Git tags' - run: git fetch --tags - shell: bash - - - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 - - - name: Build - shell: bash - run: | - dotnet tool restore - dotnet cake - ################################################### # PUBLISH ################################################### publish: name: Publish - needs: [build] if: "!contains(github.event.head_commit.message, 'skip-ci')" runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0