Compare commits

..

7 Commits

Author SHA1 Message Date
e7a8268021
Update dependabot.yml 2024-12-01 21:01:04 +03:00
73a71e2507
Update dependabot.yml 2024-12-01 20:58:55 +03:00
cc071f43b7
github actions
gha
2022-04-13 23:05:13 +03:00
33d382579a
gha 2022-04-13 23:00:28 +03:00
624b4a7513
gh test 2022-04-13 22:56:16 +03:00
e8cf00f9ef
gha 2022-04-13 22:45:23 +03:00
7a595ab8d7
dependabot + gha 2022-04-13 22:34:56 +03:00
4 changed files with 137 additions and 0 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/src"
labels:
- "Type: 🛑 dependency"
schedule:
interval: daily
time: "02:00"
open-pull-requests-limit: 10
target-branch: "develop"

41
.github/workflows/develop.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: SourceSDK.ENV.Editor - develop
on:
push:
branches: [ develop ]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Set the value
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
- name: Checkout Code
uses: actions/checkout@master
with:
clean: true
fetch-depth: 0
lfs: true
submodules: true
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
include-prerelease: true
source-url: https://nuget.pkg.github.com/colhountech/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Restore NuGet Packages
run: dotnet restore src/SourceSDK.ENV.Editor.csproj
- name: Build Debug
run: dotnet build src/SourceSDK.ENV.Editor.sln --configuration Debug --force --no-incremental --nologo

41
.github/workflows/master.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: SourceSDK.ENV.Editor - master
on:
push:
branches: [ master ]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Set the value
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
- name: Checkout Code
uses: actions/checkout@master
with:
clean: true
fetch-depth: 0
lfs: true
submodules: true
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
include-prerelease: true
source-url: https://nuget.pkg.github.com/colhountech/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Restore NuGet Packages
run: dotnet restore src/SourceSDK.ENV.Editor.csproj
- name: Build Release
run: dotnet build src/SourceSDK.ENV.Editor.sln --configuration Release --force --no-incremental --nologo

44
.github/workflows/pr.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: SourceSDK.ENV.Editor - pull request to master
on:
pull_request:
branches: [ master ]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Set the value
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
- name: Checkout Code
uses: actions/checkout@master
with:
clean: true
fetch-depth: 0
lfs: true
submodules: true
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
include-prerelease: true
source-url: https://nuget.pkg.github.com/colhountech/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Restore NuGet Packages
run: dotnet restore src/SourceSDK.ENV.Editor.csproj
- name: Build Debug
run: dotnet build src/SourceSDK.ENV.Editor.sln --configuration Debug --force --no-incremental --nologo
- name: Build Release
run: dotnet build src/SourceSDK.ENV.Editor.sln --configuration Release --force --no-incremental --nologo