-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 981 Bytes
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Exécutable dotnet
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Mise en place de dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
source-url: https://nuget.pkg.github.com/departement-info-cem/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Installer les dépendances
working-directory: ./scriptsharp
run: dotnet restore
- run: dotnet publish
working-directory: ./scriptsharp
- name: Release
uses: softprops/action-gh-release@v2
with:
files: scriptsharp/ScriptSharp/bin/Release/net8.0/win-x64/publish/ScriptSharp.exe
tag_name: Script
body: Script d'installation pour les cours de la suite mobile du programme technique d'informatique du CÉGEP Édouard-Montpetit.
make_latest: true