Updated Nmap job

This commit is contained in:
takeshix 2021-04-19 12:03:48 +02:00
parent 5f8293095d
commit 7b20701593

View file

@ -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 }}