Skip to content

Commit

Permalink
Update ci-master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h4570 authored Apr 26, 2021
1 parent 2d14d9d commit 9f7fd42
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,34 @@ jobs:
ng build --configuration=production --output-hashing=all --output-path=./dist
working-directory: ./frontend/web-app

- name: Upload .NET artifact
uses: actions/upload-artifact@v2.2.3
#- name: Upload .NET artifact
# uses: actions/upload-artifact@v2.2.3
# with:
# name: web-api
# path: ./backend/WebApi/publish

#- name: Upload Angular artifact
# uses: actions/upload-artifact@v2.2.3
# with:
# name: web-app
# path: ./frontend/web-app/dist

- name: Create .NET artifact (zip)
uses: TheDoctor0/zip-release@0.4.1
with:
name: web-api
filename: web-api.zip
path: ./backend/WebApi/publish

- name: Upload Angular artifact
uses: actions/upload-artifact@v2.2.3
- name: Create Angular artifact (zip)
uses: TheDoctor0/zip-release@0.4.1
with:
name: web-app
filename: web-app.zip
path: ./frontend/web-app/dist

- name: Create a Release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.8.4
with:
artifacts: "web-app,web-api"
artifacts: web-app.zip,web-api.zip
tag: ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
Expand Down

0 comments on commit 9f7fd42

Please sign in to comment.