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 name: Build Nmap x86
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: muslcc/x86_64:i686-linux-musl container: muslcc/x86_64:i686-linux-musl
outputs:
version: ${{ steps.package_nmap.outputs.PACKAGED_VERSION }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -144,13 +146,13 @@ jobs:
- name: Tag Release - name: Tag Release
run: | run: |
git tag "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.steps.package_nmap.outputs.PACKAGED_VERSION }}" git push origin "nmap-v${{ needs.build-x86.outputs.version }}"
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: /tmp/releases/* files: /tmp/releases/*
name: Nmap v${{ needs.build-x86.steps.package_nmap.outputs.PACKAGED_VERSION }} name: Nmap v${{ needs.build-x86.outputs.version }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}