diff --git a/.github/workflows/build-nmap.yml b/.github/workflows/build-nmap.yml index fb735e3..2670705 100644 --- a/.github/workflows/build-nmap.yml +++ b/.github/workflows/build-nmap.yml @@ -7,6 +7,8 @@ jobs: name: Build Nmap x86 runs-on: ubuntu-latest container: muslcc/x86_64:i686-linux-musl + outputs: + version: ${{ steps.package_nmap.outputs.PACKAGED_VERSION }} steps: - name: Checkout uses: actions/checkout@v2 @@ -144,13 +146,13 @@ jobs: - name: Tag Release run: | - git tag "nmap-v${{ needs.build-x86.steps.package_nmap.outputs.PACKAGED_VERSION }}" - git push origin "nmap-v${{ needs.build-x86.steps.package_nmap.outputs.PACKAGED_VERSION }}" + git tag "nmap-v${{ needs.build-x86.outputs.version }}" + git push origin "nmap-v${{ needs.build-x86.outputs.version }}" - name: Create Release uses: softprops/action-gh-release@v1 with: files: /tmp/releases/* - name: Nmap v${{ needs.build-x86.steps.package_nmap.outputs.PACKAGED_VERSION }} + name: Nmap v${{ needs.build-x86.outputs.version }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file