Skip to content

Commit 6372cb6

Browse files
committed
chore(ci): explicitly call manifests workflow from build-native
Re-publishes previously incomplete release of @appland/appmap-v3.197.1: * **native:** build Linux binaries against GLIBC 2.28 for RHEL 8 compatibility ([3da2b87](3da2b87))
1 parent c0458b0 commit 6372cb6

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

.github/workflows/build-native.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,14 +378,18 @@ jobs:
378378
cd artifacts
379379
cut -c8- ../checksums.txt | sha256sum --check
380380
381+
# this step will NOT automatically trigger workflows associated with release publication event,
382+
# see https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow#triggering-a-workflow-from-a-workflow
381383
- name: Publish GitHub Release
382384
run: gh release edit ${{ github.ref_name }} --draft=false
383385
env:
384386
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
385387

386-
# previous step will NOT automatically trigger workflows associated with release publication event,
387-
# see https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow#triggering-a-workflow-from-a-workflow
388-
- name: Dispatch manifests workflow
389-
run: gh workflow run manifests.yml -f tag_name="${{ github.ref_name }}"
390-
env:
391-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
388+
publish:
389+
needs: ["finalize-release"]
390+
uses: ./.github/workflows/manifests.yml
391+
secrets: inherit
392+
with:
393+
tag_name: ${{ github.ref_name }}
394+
permissions:
395+
contents: write

.github/workflows/manifests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
tag_name:
99
description: 'Release tag to process'
1010
required: true
11+
workflow_call:
12+
inputs:
13+
tag_name:
14+
type: string
15+
description: 'Release tag to process'
16+
required: true
1117

1218
jobs:
1319
setup:

0 commit comments

Comments
 (0)