Updated Nmap job

This commit is contained in:
takeshix 2021-04-19 11:14:06 +02:00
parent a94e52ae86
commit 31fc61d83f

View file

@ -126,22 +126,23 @@ jobs:
create-release: create-release:
name: Create Nmap Release name: Create Nmap Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Prepare Environment - name: Prepare Environment
run: mkdir /data run: mkdir /releases
- name: Download Artifacts - name: Download Artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
path: /data path: /releases
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: /data/* files: /releases/*
name: Nmap v${{ needs.build-x86.outputs.PACKAGED_VERSION }} name: Nmap v${{ needs.build-x86.outputs.PACKAGED_VERSION }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}