|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
name: main
|
|
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
|
|
@ -73,6 +75,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
name: ${{ matrix.app }}
|
|
|
|
|
path: ${{ matrix.app }}/bin/publish/
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
release:
|
|
|
|
|
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
|
|
|
|
@ -90,9 +93,9 @@ jobs:
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
run: >
|
|
|
|
|
gh release create "${{ github.ref_name }}"
|
|
|
|
|
--repo "${{ github.event.repository.full_name }}"
|
|
|
|
|
--title "${{ github.ref_name }}"
|
|
|
|
|
gh release create ${{ github.ref_name }}
|
|
|
|
|
--repo ${{ github.event.repository.full_name }}
|
|
|
|
|
--title ${{ github.ref_name }}
|
|
|
|
|
--notes "[Changelog](${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md)"
|
|
|
|
|
--verify-tag
|
|
|
|
|
|
|
|
|
@ -131,9 +134,9 @@ jobs:
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
run: >
|
|
|
|
|
gh release upload "${{ github.ref_name }}"
|
|
|
|
|
"${{ matrix.asset }}.zip"
|
|
|
|
|
--repo "${{ github.event.repository.full_name }}"
|
|
|
|
|
gh release upload ${{ github.ref_name }}
|
|
|
|
|
${{ matrix.asset }}.zip
|
|
|
|
|
--repo ${{ github.event.repository.full_name }}
|
|
|
|
|
|
|
|
|
|
notify:
|
|
|
|
|
needs: deploy
|
|
|
|
|