Skip to content

Commit

Permalink
upd - Initial update for workflow dependencies
Browse files Browse the repository at this point in the history
---

The deprecation of old Node.js versions on GH Actions is so fast that we couldn't keep up!

---

Type: upd
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 15, 2024
1 parent 32eefd1 commit f8d7fd2
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 188 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/build-macos-rel.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/build-macos.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-ppa-package-with-lintian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
cp ../*.deb .
- name: Upload package to artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Nitrocid-KS-Debian-Package
path: "*.deb"
4 changes: 2 additions & 2 deletions .github/workflows/build-ppa-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
cp ../*.deb .
- name: Upload package to artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Nitrocid-KS-Debian-Package
path: "*.deb"
2 changes: 1 addition & 1 deletion .github/workflows/build-ppa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,26 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build -maxCpuCount:1 --configuration Release
- name: Testing
run: dotnet test --no-build --configuration Release
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: unit-test-log
name: unit-test-log-${{ matrix.runs-on }}
path: "private/Nitrocid.Tests/KSTest/net8.0/UnitTestDebug.log"

35 changes: 0 additions & 35 deletions .github/workflows/build-win-rel.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/build-win.yml

This file was deleted.

22 changes: 12 additions & 10 deletions .github/workflows/build-linux.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,36 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build -maxCpuCount:1 --configuration Debug
- name: Testing
run: dotnet test --no-build --configuration Debug
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: ks-build
name: ks-build-${{ matrix.runs-on }}
path: "public/Nitrocid/KSBuild/net8.0/"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: ks-build
name: ks-build-nuget-${{ matrix.runs-on }}
path: "public/Nitrocid/KSBuild/*.nupkg"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: unit-test-log
name: unit-test-log-${{ matrix.runs-on }}
path: "private/Nitrocid.Tests/KSTest/net8.0/UnitTestDebug.log"

2 changes: 1 addition & 1 deletion .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: API Key Preparation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "Make API Reference"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Fetching the KS source
- uses: "nunit/docfx-action@master"
name: Generating documentation
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pushamend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pushppa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down

0 comments on commit f8d7fd2

Please sign in to comment.