Fixes pipelines
This commit is contained in:
parent
b322d1b36c
commit
2d029ca614
6 changed files with 41 additions and 11 deletions
9
.github/workflows/build-gdb.yml
vendored
9
.github/workflows/build-gdb.yml
vendored
|
@ -127,6 +127,8 @@ jobs:
|
||||||
name: Create GDB & gdbserver Release
|
name: Create GDB & gdbserver Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -142,11 +144,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
id: tag_release
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "gdb-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
if git rev-list "gdb-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
echo "Tag for gdb-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for gdb-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo ::set-output name=NEW_RELEASE::"false"
|
echo ::set-output name=NEW_RELEASE::"false"
|
||||||
else
|
else
|
||||||
|
@ -162,4 +167,4 @@ jobs:
|
||||||
name: gdb-v${{ needs.build-x86.outputs.version }}
|
name: gdb-v${{ needs.build-x86.outputs.version }}
|
||||||
tag: gdb-v${{ needs.build-x86.outputs.version }}
|
tag: gdb-v${{ needs.build-x86.outputs.version }}
|
||||||
artifacts: "/tmp/releases/*/*"
|
artifacts: "/tmp/releases/*/*"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
8
.github/workflows/build-nmap.yml
vendored
8
.github/workflows/build-nmap.yml
vendored
|
@ -129,6 +129,8 @@ jobs:
|
||||||
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]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -144,12 +146,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
id: tag_release
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
git fetch --quiet --prune --tags
|
if git rev-list "nmap-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
if [[ $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l) -gt 0 ]]; then
|
|
||||||
echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|
9
.github/workflows/build-openssh.yml
vendored
9
.github/workflows/build-openssh.yml
vendored
|
@ -92,6 +92,8 @@ jobs:
|
||||||
name: Create OpenSSH Release
|
name: Create OpenSSH Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -107,11 +109,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
id: tag_release
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "openssh-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
if git rev-list "openssh-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
echo "Tag for openssh-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for openssh-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
@ -127,4 +132,4 @@ jobs:
|
||||||
name: openssh-v${{ needs.build-x86.outputs.version }}
|
name: openssh-v${{ needs.build-x86.outputs.version }}
|
||||||
tag: openssh-v${{ needs.build-x86.outputs.version }}
|
tag: openssh-v${{ needs.build-x86.outputs.version }}
|
||||||
artifacts: "/tmp/releases/*/*"
|
artifacts: "/tmp/releases/*/*"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
9
.github/workflows/build-socat.yml
vendored
9
.github/workflows/build-socat.yml
vendored
|
@ -184,6 +184,8 @@ jobs:
|
||||||
name: Create socat Release
|
name: Create socat Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-x86, build-x86_64, build-armhf, build-aarch64, build-ppc32, build-ppc64]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64, build-ppc32, build-ppc64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -199,11 +201,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
id: tag_release
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "socat-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
if git rev-list "socat-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
echo "Tag for socat-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for socat-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
@ -219,4 +224,4 @@ jobs:
|
||||||
name: socat-v${{ needs.build-x86.outputs.version }}
|
name: socat-v${{ needs.build-x86.outputs.version }}
|
||||||
tag: socat-v${{ needs.build-x86.outputs.version }}
|
tag: socat-v${{ needs.build-x86.outputs.version }}
|
||||||
artifacts: "/tmp/releases/*/*"
|
artifacts: "/tmp/releases/*/*"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
9
.github/workflows/build-strace.yml
vendored
9
.github/workflows/build-strace.yml
vendored
|
@ -128,6 +128,8 @@ jobs:
|
||||||
name: Create strace Release
|
name: Create strace Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -143,11 +145,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
id: tag_release
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "strace-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
if git rev-list "strace-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
echo "Tag for strace-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for strace-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
@ -163,4 +168,4 @@ jobs:
|
||||||
name: strace-v${{ needs.build-x86.outputs.version }}
|
name: strace-v${{ needs.build-x86.outputs.version }}
|
||||||
tag: strace-v${{ needs.build-x86.outputs.version }}
|
tag: strace-v${{ needs.build-x86.outputs.version }}
|
||||||
artifacts: "/tmp/releases/*/*"
|
artifacts: "/tmp/releases/*/*"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
8
.github/workflows/build-tcpdump.yml
vendored
8
.github/workflows/build-tcpdump.yml
vendored
|
@ -92,6 +92,8 @@ jobs:
|
||||||
name: Create tcpdump Release
|
name: Create tcpdump Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
needs: [build-x86, build-x86_64, build-armhf, build-aarch64]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -107,10 +109,14 @@ jobs:
|
||||||
- name: List Artifacts
|
- name: List Artifacts
|
||||||
run: ls -laR /tmp/releases
|
run: ls -laR /tmp/releases
|
||||||
|
|
||||||
|
- name: Fetch tags
|
||||||
|
run: git fetch --tags --prune --quiet
|
||||||
|
|
||||||
- name: Tag Release
|
- name: Tag Release
|
||||||
|
id: tag_release
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "tcpdump-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
if git rev-list "tcpdump-v${{ needs.build-x86.outputs.version }}" >/dev/null;then
|
||||||
echo "Tag for tcpdump-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
echo "Tag for tcpdump-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
|
||||||
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue