chore(ci): get pre release
@@ -361,13 +361,13 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
- - name: Get Draft Release
+ - name: Get Pre-release
uses: cardinalby/git-get-release-action@v1
- id: latest_draft_release
+ id: latest_pre_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- draft: true
+ prerelease: true
latest: true
- name: download sha256sums
uses: actions/download-artifact@v2
@@ -384,7 +384,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ steps.latest_draft_release.outputs.upload_url }}
+ upload_url: ${{ steps.latest_pre_release.outputs.upload_url }}
asset_path: sha256sums.txt
asset_name: sha256sums.txt
asset_content_type: text/plain
