Skip to content

Commit cd42fa9

Browse files
committed
fixup!
1 parent 071f8d6 commit cd42fa9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/create-meeting-artifacts-manual.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Read Meeting Variables
4242
id: read-vars
4343
run: |
44-
meeting_group="${{ github.event.inputs.meeting_group }}"
44+
meeting_group="${{ inputs.meeting_group }}"
4545
user=$(grep '^USER=' "templates/meeting_base_${meeting_group}" | cut -d'=' -f2 | xargs)
4646
echo "user=$user" >> $GITHUB_OUTPUT
4747
@@ -58,16 +58,20 @@ jobs:
5858
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
5959
HACKMD_API_TOKEN: ${{ secrets.HACKMD_API_TOKEN }}
6060
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
61-
ADDITIONAL_ARGS: ${{ github.event.inputs.dry_run == 'true' && '--dry-run' || '' }}
62-
run: node create-node-meeting-artifacts.mjs ${{ github.event.inputs.meeting_group }} --verbose $ADDITIONAL_ARGS
61+
run: |
62+
args="${{ inputs.meeting_group }} --verbose"
63+
if [ "${{ inputs.dry_run }}" = "true" ]; then
64+
args="$args --dry-run"
65+
fi
66+
node create-node-meeting-artifacts.mjs $args
6367
6468
- name: Upload artifacts
6569
if: always()
6670
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
6771
with:
68-
name: meeting-artifacts-${{ github.event.inputs.meeting_group || 'tsc' }}
72+
name: meeting-artifacts-${{ inputs.meeting_group }}
6973
path: |
7074
~/.make-node-meeting/
7175
*.md
7276
retention-days: 7
73-
if-no-files-found: ignore
77+
if-no-files-found: ignore

0 commit comments

Comments
 (0)