Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 3 additions & 20 deletions .github/workflows/build-and-publish-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true

jobs:
build:
build-and-publish:
name: Build DeepView.Profile
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -42,24 +42,7 @@ jobs:
with:
name: ${{ github.event.inputs.tag }}
path: dist/*${{ github.event.inputs.tag }}*

publish-release:
name: Publish Release
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{ github.event.inputs.tag }}
path: dist


- name: Publish a release
run: |
RELEASE_NOTES="$(git log $(git describe --abbrev=0 --tags).. --merges --pretty=format:"%s %b" | cut -f 4,7- -d ' ')"
Expand All @@ -77,7 +60,7 @@ jobs:

publish-to-test-pypi:
name: Publish to Test PyPI
needs: publish-release
needs: build-and-publish
runs-on: ubuntu-latest
environment: Test
concurrency: Test
Expand Down