Skip to content

Commit

Permalink
Hotfix for release script to require build on each published artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbah committed Jul 8, 2023
1 parent 7ba384f commit e7b23ad
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,23 @@ jobs:
dotnet-version: 7.0.305
- name: Checkout source
uses: actions/checkout@v3
- name: Perform build
run: dotnet build -c Release --nologo
- name: Prepare publish artifacts
run: |
dotnet publish CentCom.API -o publish/linux-x64/CentCom.API/ -r "linux-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.API -o publish/linux-x64/CentCom.API/ -r "linux-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.API-linux-x64.zip -r ./publish/linux-x64/CentCom.API/*
dotnet publish CentCom.Server -o publish/linux-x64/CentCom.Server -r "linux-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Server -o publish/linux-x64/CentCom.Server -r "linux-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Server-linux-x64.zip -r ./publish/linux-x64/CentCom.Server/*
dotnet publish CentCom.Bot -o publish/linux-x64/CentCom.Bot -r "linux-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Bot -o publish/linux-x64/CentCom.Bot -r "linux-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Bot-linux-x64.zip -r ./publish/linux-x64/CentCom.Bot/*
dotnet publish CentCom.Exporter -o publish/linux-x64/CentCom.Exporter -r "linux-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Exporter -o publish/linux-x64/CentCom.Exporter -r "linux-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Exporter-linux-x64.zip -r ./publish/linux-x64/CentCom.Exporter/*
dotnet publish CentCom.API -o publish/win-x64/CentCom.API/ -r "win-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.API -o publish/win-x64/CentCom.API/ -r "win-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.API-win-x64.zip -r ./publish/win-x64/CentCom.API/*
dotnet publish CentCom.Server -o publish/win-x64/CentCom.Server -r "win-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Server -o publish/win-x64/CentCom.Server -r "win-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Server-win-x64.zip -r ./publish/win-x64/CentCom.Server/*
dotnet publish CentCom.Bot -o publish/win-x64/CentCom.Bot -r "win-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Bot -o publish/win-x64/CentCom.Bot -r "win-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Bot-win-x64.zip -r ./publish/win-x64/CentCom.Bot/*
dotnet publish CentCom.Exporter -o publish/win-x64/CentCom.Exporter -r "win-x64" --self-contained false --no-build -c Release --nologo
dotnet publish CentCom.Exporter -o publish/win-x64/CentCom.Exporter -r "win-x64" --self-contained false -c Release --nologo
7z a publish/CentCom.Exporter-win-x64.zip -r ./publish/win-x64/CentCom.Exporter/*
- name: Upload release artifacts
uses: actions/github-script@v4
Expand Down

0 comments on commit e7b23ad

Please sign in to comment.