Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
afwbkbc committed Jul 8, 2024
1 parent 67ac1dc commit 8c8fdd6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/buildall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
ver: ${{ steps.info.env.ver }}
sha: ${{ steps.info.env.sha }}
ver: ${{ steps.info.outputs.ver }}
sha: ${{ steps.info.outputs.sha }}
steps:
- uses: benjlevesque/[email protected]
id: short-sha
Expand All @@ -32,15 +32,18 @@ jobs:
env:
ver: v0.3
sha: ${{ steps.short-sha.outputs.sha }}
run: echo ${{ env.ver }} ${{ env.sha }}
run: |
echo ${{ env.ver }} ${{ env.sha }}
echo "ver=${{ env.ver }}" >> $GITHUB_OUTPUT
echo "sha=${{ env.sha }}" >> $GITHUB_OUTPUT
- name: create-release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.info.env.ver }}-${{ steps.info.env.sha }}
release_name: ${{ steps.info.env.ver }}-${{ steps.info.env.sha }}
tag_name: ${{ steps.info.outputs.ver }}-${{ steps.info.outputs.sha }}
release_name: ${{ steps.info.outputs.ver }}-${{ steps.info.outputs.sha }}
draft: false
prerelease: false

Expand Down

0 comments on commit 8c8fdd6

Please sign in to comment.