diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b1444ad..9b4603ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,19 +2,16 @@ name: Build on: [push, pull_request] -env: - DOTNET_VERSION: 7.0.x - jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Use .NET ${{ env.DOTNET_VERSION }} - uses: actions/setup-dotnet@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: '8.0.x' # SDK Version to use. - name: Build project run: dotnet build PromptPlus.sln -c Release diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4453deb9..f9774325 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,9 +2,6 @@ name: "CodeQL" on: [push, pull_request] -env: - DOTNET_VERSION: 7.0.x - jobs: analyze: name: Analyze @@ -21,12 +18,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Use .NET ${{ env.DOTNET_VERSION }} - uses: actions/setup-dotnet@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: '8.0.x' # SDK Version to use. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3505e37b..070740e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,19 +4,16 @@ on: push: tags: [ v* ] -env: - DOTNET_VERSION: 7.0.x - jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Use .NET ${{ env.DOTNET_VERSION }} - uses: actions/setup-dotnet@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: '8.0.x' # SDK Version to use. - name: Setup Version id: setup_version diff --git a/PromptPlus.sln b/PromptPlus.sln index 0ac09f55..3a06324c 100644 --- a/PromptPlus.sln +++ b/PromptPlus.sln @@ -86,11 +86,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Readme", "Readme", "{C914AC EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{191C90E6-4BB3-49A1-8F1A-B241F2F5094F}" ProjectSection(SolutionItems) = preProject + .github\workflows\build.yml = .github\workflows\build.yml + .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml docs\colors.md = docs\colors.md docs\globalsettings.md = docs\globalsettings.md docs\hotkeys.md = docs\hotkeys.md docs\index.md = docs\index.md docs\migrateversion.md = docs\migrateversion.md + .github\workflows\publish.yml = .github\workflows\publish.yml docs\snapshot.md = docs\snapshot.md whatsnewprev.md = whatsnewprev.md EndProjectSection