From 2ee3ca378f20363095aa0d8063c5772a1221bb0e Mon Sep 17 00:00:00 2001 From: Kaioru Date: Wed, 15 Nov 2023 13:21:48 +0800 Subject: [PATCH] Update workflows to use .NET 8 --- .github/workflows/publish-nightly.yaml | 31 +------------------------- .github/workflows/publish.yaml | 2 +- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/.github/workflows/publish-nightly.yaml b/.github/workflows/publish-nightly.yaml index f3bdc53f5..3a240f48c 100644 --- a/.github/workflows/publish-nightly.yaml +++ b/.github/workflows/publish-nightly.yaml @@ -22,42 +22,13 @@ jobs: name: Check for new commits run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "should_run=false" >> $GITHUB_OUTPUT - versioning: - needs: setup - if: ${{ needs.setup.outputs.should_run != 'false' }} - - name: Versioning - runs-on: ubuntu-latest - - outputs: - version: ${{ steps.version.outputs.version }} - - steps: - - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.0.x' - - - name: Install Minver - run: dotnet tool install --global minver-cli --version 4.3.0 - - - name: Calculating version - id: version - run: echo "version=$(minver -m 1.0 -p preview -v e)" >> $GITHUB_OUTPUT - publish: - needs: [setup, versioning] + needs: [setup] if: ${{ needs.setup.outputs.should_run != 'false' }} secrets: inherit uses: ./.github/workflows/publish.yaml with: - version: "${{ needs.versioning.outputs.version }}" tag: "nightly" prerelease: true draft: false \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c59e2854b..d0264f81a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -51,7 +51,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: '8.0.x' + dotnet-version: '7.0.x' - uses: actions/cache@v1 with: