From 9faa2f204ee145c636fa89112e70c60254113f22 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Wed, 3 Jan 2024 14:10:20 +0100 Subject: [PATCH] fix ci and update actions --- .github/workflows/build-and-test.yml | 8 ++++---- .github/workflows/publish-docs.yml | 14 +++++++------- ARCTokenization.sln | 6 ++++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 06b1c24..effbe29 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET 8.0 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: make script executable @@ -27,9 +27,9 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET 8.0 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: Build and test diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index d2c77da..6b69ec6 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET 8.0 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: Restore tools @@ -25,9 +25,9 @@ jobs: working-directory: ./ run: ./build.sh builddocs - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.4.3 + uses: JamesIves/github-pages-deploy-action@v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: ./docs/docfx_project/_site/ # The folder the action should deploy. - CLEAN: true # Automatically remove deleted files from the deploy branch \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages # The branch the action should deploy to. + folder: ./output # The folder the action should deploy. + clean: true # Automatically remove deleted files from the deploy branch \ No newline at end of file diff --git a/ARCTokenization.sln b/ARCTokenization.sln index 935834b..c7e37e8 100644 --- a/ARCTokenization.sln +++ b/ARCTokenization.sln @@ -55,6 +55,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ControlledVocabulary", "Con docs\ControlledVocabulary\Introduction.ipynb = docs\ControlledVocabulary\Introduction.ipynb EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".ci", ".ci", "{4805A6D8-8D85-48F5-8902-57CECF872AE6}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml + .github\workflows\publish-docs.yml = .github\workflows\publish-docs.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU