Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e40bfed90c | ||
|
|
9b2a344676 | ||
|
|
0919964111 | ||
|
|
a22963c6d2 | ||
|
|
950ce2d9ca | ||
|
|
185cf3c7b0 | ||
|
|
5b2c88f4da |
@@ -4,8 +4,8 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
# env:
|
env:
|
||||||
# RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
DOTNET_INSTALL_DIR: '.\.dotnet'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dotnet-version: [ '8.0.x' ]
|
dotnet-version: [ '8.0.x' ]
|
||||||
@@ -13,11 +13,27 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup dotnet
|
|
||||||
|
- name: Cache dotnet
|
||||||
|
id: cache-dotnet
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ${{ env.DOTNET_INSTALL_DIR }}
|
||||||
|
key: ${{ runner.os }}-dotnet-${{ matrix.dotnet-version }}
|
||||||
|
restore-keys: ${{ runner.os }}-dotnet-${{ matrix.dotnet-version }}
|
||||||
|
|
||||||
|
- name: Install dotnet
|
||||||
|
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ matrix.dotnet-version }}
|
dotnet-version: ${{ matrix.dotnet-version }}
|
||||||
|
|
||||||
|
# - name: Setup dotnet
|
||||||
|
# uses: actions/setup-dotnet@v3
|
||||||
|
# with:
|
||||||
|
# dotnet-version: ${{ matrix.dotnet-version }}
|
||||||
# cache: true
|
# cache: true
|
||||||
|
# cache-dependency-path: packages.lock.json
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Test with dotnet
|
- name: Test with dotnet
|
||||||
@@ -42,3 +58,13 @@ jobs:
|
|||||||
author_email: pierre@geeraert.eu
|
author_email: pierre@geeraert.eu
|
||||||
message: 'automated push of build'
|
message: 'automated push of build'
|
||||||
add: '/workspace/pi-ux-ce/Simpsons_generator/bin/Debug/net8.0/Simpsons_generator.exe'
|
add: '/workspace/pi-ux-ce/Simpsons_generator/bin/Debug/net8.0/Simpsons_generator.exe'
|
||||||
|
- name: git push changes
|
||||||
|
uses: appleboy/git-push-action@v0.0.2
|
||||||
|
with:
|
||||||
|
author_email: pierre@geeraert.eu
|
||||||
|
author_name: Pierre
|
||||||
|
branch: main
|
||||||
|
commit: true
|
||||||
|
commit_message: "[skip ci] Updated changes by gitea bot"
|
||||||
|
remote: git@gitea.tryton.geeraert.eu:pi-ux-ce/Simpsons_generator.git
|
||||||
|
ssh_key: ${{ secrets.DEPLOY_KEY }}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ApplicationIcon>Simpson.ico</ApplicationIcon>
|
<ApplicationIcon>Simpson.ico</ApplicationIcon>
|
||||||
|
|||||||
Reference in New Issue
Block a user