diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c861eba..3fc91fc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,9 +1,9 @@ -name: Stable Release +name: TubeArchivistMetadata Release on: - release: - types: - - released + push: + tags: + - v* branches: master jobs: @@ -54,14 +54,12 @@ jobs: dotnet-target: net6.0 version: ${VERSION} - - name: Upload Release - uses: svenstaro/upload-release-action@v2 - id: upload + - name: Create release + uses: ncipollo/release-action@v1 with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ steps.jprm.outputs.artifact }} - tag: ${{ github.ref }} - asset_name: TubeArchivistMetadata-${{ env.VERSION }}.zip + token: ${{ secrets.GITHUB_TOKEN }} + artifacts: ${{ steps.jprm.outputs.artifact }} + makeLatest: latest body: ${{ env.RELEASE_MESSAGE }} - name: Update manifest.json