@@ -39,14 +39,14 @@ runs:
3939
4040 - name : Build
4141 shell : bash -euxo pipefail {0}
42- run : scripts/build-worker.sh ${{ steps.target.outputs.target }}
42+ run : scripts/build-worker.sh ${{ env.TARGET }}
4343
4444 - name : Package the worker (Linux)
4545 if : runner.os == 'Linux'
4646 shell : bash -euxo pipefail {0}
4747 run : |
4848 cd dist
49- mv fluxqueue-worker-${{ steps.target.outputs.target }} fluxqueue-worker
49+ mv fluxqueue-worker-${{ env.TARGET }} fluxqueue-worker
5050 tar -czvf fluxqueue-${{ github.ref_name }}-py${{ inputs.python-version }}-linux-x86_64.tar.gz fluxqueue-worker
5151 rm fluxqueue-worker
5252
@@ -55,21 +55,21 @@ runs:
5555 shell : bash -euxo pipefail {0}
5656 run : |
5757 cd dist
58- mv fluxqueue-worker-${{ steps.target.outputs.target }} fluxqueue-worker
59- zip fluxqueue-${{ github.ref_name }}-py${{ inputs.python-version }}-${{ steps.target.outputs.target }}.zip fluxqueue-worker
58+ mv fluxqueue-worker-${{ env.TARGET }} fluxqueue-worker
59+ zip fluxqueue-${{ github.ref_name }}-py${{ inputs.python-version }}-${{ env.TARGET }}.zip fluxqueue-worker
6060 rm fluxqueue-worker
6161
6262 - name : Package the worker (Windows)
6363 if : runner.os == 'Windows'
6464 shell : pwsh
6565 run : |
6666 cd dist
67- mv fluxqueue-worker-${{ steps.target.outputs.target }}.exe fluxqueue-worker.exe
67+ mv fluxqueue-worker-${{ env.TARGET }}.exe fluxqueue-worker.exe
6868 Compress-Archive -Path fluxqueue-worker.exe -DestinationPath fluxqueue-${{ github.ref_name }}-py${{ inputs.python-version }}-windows-x86_64.zip
6969 rm fluxqueue-worker.exe
7070
7171 - name : Upload build artifact
7272 uses : actions/upload-artifact@v4
7373 with :
74- name : fluxqueue-worker-${{ steps.target.outputs.target }}-py${{ inputs.python-version }}
74+ name : fluxqueue-worker-${{ env.TARGET }}-py${{ inputs.python-version }}
7575 path : dist/*
0 commit comments