Skip to content

Commit

Permalink
fix a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
itisrazza committed Mar 21, 2021
1 parent 987d69e commit f61f342
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Testing
name: Releases
on: [push]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:

# build and test the code
- run: dotnet build
- run: dotnet Testing
- run: dotnet test
7 changes: 5 additions & 2 deletions BuildScripts/BuildAll.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

$configuration = "Release"
$dotnetVersion = "net5.0-windows"
$targetPlatforms = @(
"win-x86"
Expand All @@ -16,9 +17,11 @@ foreach ($platform in $targetPlatforms) {
echo ""
echo "++ BUILDING FOR $platform"

dotnet publish -f $dotnetVersion -r $platform
cd SuperSize
dotnet publish -c $configuration -f $dotnetVersion -r $platform
cd ..

$publishFiles = (Get-ChildItem -Path "SuperSize/bin/Release/$dotnetVersion/publish").FullName
$publishFiles = (Get-ChildItem -Path "SuperSize/bin/Release/$dotnetVersion/$platform").FullName
Compress-Archive `
-Force `
-LiteralPath $publishFiles `
Expand Down

0 comments on commit f61f342

Please sign in to comment.