diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e93bd02..47cae80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Get current date id: date run: echo "::set-output name=date::$(date --iso-8601=seconds)" - - name: Create/update release + - name: Create/update release ${{ steps.major-version.outputs.tag }} if: ${{ steps.version.outputs.new_tag }} != "" uses: ncipollo/release-action@v1 with: @@ -44,3 +44,11 @@ jobs: tag: ${{ steps.major-version.outputs.tag }} name: ${{ steps.version.outputs.new_tag }} (${{ steps.date.outputs.date }}) omitBody: true + - name: Create release ${{ steps.version.outputs.new_tag }} + if: ${{ steps.version.outputs.new_tag }} != "" + uses: ncipollo/release-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ steps.version.outputs.new_tag }} + name: Release ${{ steps.version.outputs.new_tag }} + omitBody: true