Skip to content

Commit

Permalink
Replace release action and avoid set-output in our workflow (#2317)
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws authored Mar 27, 2023
1 parent bd1ac2d commit 8ed7fee
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: versioning
run: |
# Output for upload scripts to see
echo ::set-output name=version::${{ env.TAG_VERSION }}
echo "version=${{ env.TAG_VERSION }}" >> $GITHUB_OUTPUT
# Validate git tag & Cargo.toml are in sync on version number
if [[ ${{ env.CRATE_VERSION }} != ${{ env.TAG_VERSION }} ]]; then
echo "Git tag ${{env.TAG_VERSION}} did not match crate version ${{env.CRATE_VERSION}}"
Expand All @@ -39,16 +39,15 @@ jobs:
- name: Create release
id: create_release
uses: actions/create-release@v1
uses: ncipollo/release-action@v1.12.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: kani-${{ env.TAG_VERSION }}
release_name: kani-${{ env.TAG_VERSION }}
name: kani-${{ env.TAG_VERSION }}
tag: kani-${{ env.TAG_VERSION }}
body: |
Kani Rust verifier release bundle version ${{ env.TAG_VERSION }}.
draft: true
prerelease: false

Upload:
name: Upload
Expand Down

0 comments on commit 8ed7fee

Please sign in to comment.