Skip to content

Commit

Permalink
Add Artifact generation
Browse files Browse the repository at this point in the history
Closes #37
  • Loading branch information
baynezy committed Jan 3, 2024
1 parent 9c6af97 commit f215252
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/step-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: SiteWarmer.Core
path: ./src/SiteWarmer.Core/bin/Release/*.nupkg
path: ./src/SiteWarmer.Core/bin/Release/*.nupkg
- name: Build Executable
run: |
dotnet publish ./src/Console/Console.csproj -c Release -r win-x64 -o ./output
- name: Upload Executable
if: ${{ github.actor != 'dependabot[bot]' }}
uses: actions/upload-artifact@v4
with:
name: SiteWarmer.Console
path: ./output/*.exe
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -444,4 +444,7 @@ MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# End of https://www.toptal.com/developers/gitignore/api/dotnetcore,rider,vs
# End of https://www.toptal.com/developers/gitignore/api/dotnetcore,rider,vs

# exe build
output/
2 changes: 2 additions & 0 deletions src/Console/Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>SiteWarmer</AssemblyName>
<PublishSingleFile>true</PublishSingleFile>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down

0 comments on commit f215252

Please sign in to comment.