diff --git a/.github/workflows/build-docfx.yml b/.github/workflows/build-docfx.yml index 88e28c7f12..68439cb6de 100644 --- a/.github/workflows/build-docfx.yml +++ b/.github/workflows/build-docfx.yml @@ -4,10 +4,10 @@ on: schedule: - cron: "0 0 * * 0" -jobs: +jobs: docfx: runs-on: ubuntu-latest - steps: + steps: - uses: actions/checkout@v2 - name: Setup submodule run: | @@ -19,23 +19,23 @@ jobs: cd RobustToolbox/ git submodule update --init --recursive - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x - + - name: Install dependencies run: dotnet restore - + - name: Build Project run: dotnet build --no-restore /p:WarningsAsErrors=nullable - name: Build DocFX - uses: nikeee/docfx-action@v1.0.0 + uses: nikeee/docfx-action@v1.0.0 with: args: Content.Docfx/docfx.json - + - name: Publish Docfx Documentation on GitHub Pages uses: maxheld83/ghpages@master env: - BUILD_DIR: Content.Docfx/_content-site - GH_PAT: ${{ secrets.GH_PAT }} + BUILD_DIR: Content.Docfx/_content-site + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/build-test-debug.yml b/.github/workflows/build-test-debug.yml index d8128c0369..336293f3e4 100644 --- a/.github/workflows/build-test-debug.yml +++ b/.github/workflows/build-test-debug.yml @@ -49,7 +49,7 @@ jobs: git submodule update --init --recursive - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 0eb56e033c..37dfe31c19 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -49,7 +49,7 @@ jobs: git submodule update --init --recursive - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3f1b0765d3..a5644d54bf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: with: submodules: 'recursive' - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.100 diff --git a/.github/workflows/test-packaging.yml b/.github/workflows/test-packaging.yml index 36cb68abcc..d86c902b75 100644 --- a/.github/workflows/test-packaging.yml +++ b/.github/workflows/test-packaging.yml @@ -45,7 +45,7 @@ jobs: git submodule update --init --recursive - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x diff --git a/.github/workflows/update-wiki.yml b/.github/workflows/update-wiki.yml index 661b086c39..1d5b0a8725 100644 --- a/.github/workflows/update-wiki.yml +++ b/.github/workflows/update-wiki.yml @@ -19,37 +19,37 @@ jobs: name: Build and Publish JSON blobs to wiki runs-on: ubuntu-latest - steps: + steps: - name: Checkout Master uses: actions/checkout@v2 - + - name: Setup Submodule run: | git submodule update --init --recursive - + - name: Pull Engine Updates uses: space-wizards/submodule-dependency@v0.1.5 - + - name: Update Engine Submodules run: | cd RobustToolbox/ git submodule update --init --recursive - + - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.100 - + - name: Install Dependencies run: dotnet restore - + - name: Build Project run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors=nullable /m - + - name: Generate JSON blobs for prototypes run: dotnet ./bin/Content.Server/Content.Server.dll --cvar autogen.destination_file=prototypes.json continue-on-error: true - + - name: Upload chem_prototypes.json to wiki uses: jtmullen/mediawiki-edit-action@v0.1.1 with: @@ -59,7 +59,7 @@ jobs: api_url: https://wiki.spacestation14.io/w/api.php username: ${{ secrets.WIKI_BOT_USER }} password: ${{ secrets.WIKI_BOT_PASS }} - + - name: Upload react_prototypes.json to wiki uses: jtmullen/mediawiki-edit-action@v0.1.1 with: diff --git a/.github/workflows/yaml-linter.yml b/.github/workflows/yaml-linter.yml index da768c4dbf..bd4364e848 100644 --- a/.github/workflows/yaml-linter.yml +++ b/.github/workflows/yaml-linter.yml @@ -17,7 +17,7 @@ jobs: cd RobustToolbox/ git submodule update --init --recursive - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.100 - name: Install dependencies