Skip to content

Commit

Permalink
Merge pull request #46 from artichoke/nightly-builder/deprecated-gh-a…
Browse files Browse the repository at this point in the history
…ctions

Fix nightly release breakage
  • Loading branch information
lopopolo authored Dec 29, 2021
2 parents ecb1874 + bfcee09 commit b12da5c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,26 +210,26 @@ jobs:
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release_version.outputs.version }}
tag: ${{ steps.release_info.outputs.version }}
draft: true
allowUpdates: true
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true
artifact: ${{ steps.build.outputs.asset }}
artifacts: ${{ steps.build.outputs.asset }}
artifactContentType: ${{ steps.build.outputs.content_type }}

- name: Upload release signature
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release_version.outputs.version }}
tag: ${{ steps.release_info.outputs.version }}
draft: true
allowUpdates: true
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true
artifact: ${{ steps.build.outputs.asset }}.asc
artifacts: ${{ steps.build.outputs.asset }}.asc
artifactContentType: "text/plain"

finalize-release:
Expand All @@ -245,13 +245,13 @@ jobs:

- name: Set publish_info
id: publish_info
run: echo "::set-output name=release_id::$(cat artifacts/release-id)"
run: echo "::set-output name=release_tag::$(cat artifacts/release-version)"

- name: Publish release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release_version.outputs.version }}
tag: ${{ steps.publish_info.outputs.release_tag }}
draft: false
allowUpdates: true
omitBodyDuringUpdate: true
Expand Down

0 comments on commit b12da5c

Please sign in to comment.