Update GitHub Actions workflow for build process
This commit is contained in:
1 file changed
+8
-7
@@ -7,29 +7,30 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- nightly
|
- nightly
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout du code
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Configuration de .NET 6
|
- name: Setup .NET 6
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
|
|
||||||
- name: Restauration des dépendances
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Build du plugin (Release)
|
- name: Build plugin (Release)
|
||||||
run: dotnet build --configuration Release --no-restore
|
run: dotnet build --configuration Release --no-restore
|
||||||
|
|
||||||
- name: Sauvegarde du fichier .dll (Artifact)
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: AUModdedRegions-Nightly
|
name: AUModdedRegions-Nightly
|
||||||
path: bin/Release/net6.0/AUModdedRegio
|
path: bin/Release/net6.0/AUModdedRegi
|
||||||
ns.dll
|
ons.dll
|
||||||
Reference in new issue
Block a user