diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf4f027517..9b3d72f91f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,7 +122,7 @@ jobs: echo "outputs.buildtag: ${{ steps.ids.outputs.buildtag }}" echo "outputs.shortsha: ${{ steps.ids.outputs.shortsha }}" echo "outputs.artfact: ${{ steps.ids.outputs.artifact }}" - echo "outputs.artfact: ${{ steps.ids.outputs.artifact }}" + echo "outputs.version: ${{ steps.ids.outputs.version }}" continue-on-error: true # Build HEX @@ -148,12 +148,12 @@ jobs: # for debugging - name: Show Variables run: | - echo "Artifact name: ${{ env.ARTIFACT_NAME }}" + echo "Artifact name: ${{ needs.build.outputs.artifact }}" - name: download artifacts uses: actions/download-artifact@v2 with: - name: ${{ env.ARTIFACT_NAME }} + name: ${{ needs.build.outputs.artifact }} continue-on-error: false # Hide existing/outdated artifacts links @@ -172,7 +172,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | let fs = require('fs'); - let issue_number = Number(fs.readFileSync("./${{ env.ARTIFACT_NAME }}")); + let issue_number = Number(fs.readFileSync("./${{ needs.build.outputs.artifact }}")); await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, @@ -201,7 +201,7 @@ jobs: echo "outputs.buildtag: ${{ needs.build.outputs.buildtag }}" echo "outputs.shortsha: ${{ needs.build.outputs.shortsha }}" echo "outputs.artfact: ${{ needs.build.outputs.artifact }}" - echo "outputs.artfact: ${{ needs.build.outputs.version }}" + echo "outputs.version: ${{ needs.build.outputs.version }}" echo "NOW=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV continue-on-error: true