Skip to content

Commit

Permalink
release build attributes fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zhur committed Jun 15, 2024
1 parent f6ab4b9 commit 0f108e5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ jobs:
dotnet-version: 8.0.x
# - name: Wasm tools
# run: dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj
- name: Build
run: dotnet build OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj --no-restore --configuration Release
- name: Publish 1
run: dotnet publish OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj --no-restore --configuration Release


- name: Get current date
id: date
Expand All @@ -55,6 +50,14 @@ jobs:
replacement-text: "${{ github.ref_name }}-${{ steps.date.outputs.date }}"


- name: Restore dependencies
run: dotnet restore OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj
- name: Build
run: dotnet build OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj --no-restore --configuration Release
- name: Publish 1
run: dotnet publish OneShelf.Frontend/OneShelf.Frontend.Web/OneShelf.Frontend.Web.csproj --no-restore --configuration Release


- run: Compress-Archive -Path OneShelf.Frontend/OneShelf.Frontend.Web/bin/Release/net8.0/publish/* -Destination OneShelf.Frontend.Web.zip

- uses: "marvinpinto/action-automatic-releases@latest"
Expand Down

0 comments on commit 0f108e5

Please sign in to comment.