From 100f57fec6c6d4c3d3ca663f0821c9773c8602c8 Mon Sep 17 00:00:00 2001 From: afwbkbc Date: Mon, 8 Jul 2024 19:34:11 +0300 Subject: [PATCH] fix ci --- .github/workflows/buildall.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildall.yml b/.github/workflows/buildall.yml index 5e929b21..9253e52e 100644 --- a/.github/workflows/buildall.yml +++ b/.github/workflows/buildall.yml @@ -14,10 +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 }} - env: - ver: v0.3 + ver: ${{ steps.info.outputs.ver }} + sha: ${{ steps.info.outputs.sha }} steps: - uses: benjlevesque/short-sha@v2.1 id: short-sha @@ -32,16 +30,20 @@ jobs: - name: info id: info env: + ver: v0.3 sha: ${{ steps.short-sha.outputs.sha }} run: echo ${{ env.ver }} ${{ env.sha }} + outputs: + ver: ${{ env.ver }} + sha: ${{ env.sha }} - name: create-release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v0.3-${{ steps.short-sha.outputs.sha }} - release_name: ${{ env.ver }}-${{ env.sha }} + tag_name: ${{ steps.info.outputs.ver }}-${{ steps.short-sha.outputs.sha }} + release_name: ${{ steps.info.outputs.ver }}-${{ steps.info.outputs.sha }} draft: false prerelease: false