Template
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77f4bd59f8 | ||
|
|
c6225716cf |
@@ -8,6 +8,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
dotnet-version: [ '8.0.x' ]
|
dotnet-version: [ '8.0.x' ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@@ -23,9 +25,11 @@ jobs:
|
|||||||
echo "${{ vars.EXECUTABLE_NAME }}"
|
echo "${{ vars.EXECUTABLE_NAME }}"
|
||||||
echo "${{ vars.RUNTIME }}"
|
echo "${{ vars.RUNTIME }}"
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v5
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ matrix.dotnet-version }}
|
dotnet-version: ${{ matrix.dotnet-version }}
|
||||||
|
cache: true
|
||||||
|
cache-dependency-path: subdir/packages.lock.json
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Test with dotnet
|
- name: Test with dotnet
|
||||||
@@ -33,7 +37,7 @@ jobs:
|
|||||||
- name: Build the package
|
- name: Build the package
|
||||||
run: dotnet build -p:Version=$next_version
|
run: dotnet build -p:Version=$next_version
|
||||||
- name: Publish the package
|
- name: Publish the package
|
||||||
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }} --self-contained false --runtime ${{ vars.RUNTIME }}
|
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }},ApplicationIcon="icon.ico" --self-contained false --runtime ${{ vars.RUNTIME }}
|
||||||
- name: List all files
|
- name: List all files
|
||||||
run: |
|
run: |
|
||||||
find /workspace
|
find /workspace
|
||||||
|
|||||||
@@ -6,19 +6,11 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ApplicationIcon>webclip_webclip-Photoroom.ico</ApplicationIcon>
|
<ApplicationIcon>webclip_webclip-Photoroom.ico</ApplicationIcon>
|
||||||
<Title>OnpremsTools</Title>
|
|
||||||
<Authors>Pierre Geeraert</Authors>
|
<Authors>Pierre Geeraert</Authors>
|
||||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||||
<!-- Versioning properties -->
|
<!-- Versioning properties -->
|
||||||
<Version>1.2</Version>
|
|
||||||
<FileVersion>1.2</FileVersion>
|
|
||||||
<AssemblyVersion>1.2.3.4</AssemblyVersion>
|
|
||||||
<InformationalVersion>1.2.3-beta</InformationalVersion>
|
|
||||||
|
|
||||||
<!-- Company information -->
|
<!-- Company information -->
|
||||||
<Company>Prometheus Group</Company>
|
|
||||||
<Description>Archive utilities.</Description>
|
|
||||||
<Copyright>Copyright © 2025</Copyright>
|
|
||||||
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user