Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/plugin-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main]
pull_request:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'

permissions:
contents: read
Expand All @@ -17,7 +19,26 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install --global @openai/codex
- name: Resolve Codex CLI version
id: codex-version
run: |
version="$(npm view @openai/codex version)"
if [ -z "$version" ] || [ "$version" = "null" ]; then
echo "Failed to resolve @openai/codex version" >&2
exit 1
fi
echo "version=${version}" >> "$GITHUB_OUTPUT"
echo "codex npm version: ${version}"
- name: Install Codex CLI
env:
CODEX_VERSION: ${{ steps.codex-version.outputs.version }}
run: |
npm install --global "@openai/codex@${CODEX_VERSION}"
codex --version
{
echo "codex npm version: ${CODEX_VERSION}"
echo "codex --version: $(codex --version)"
} >> "$GITHUB_STEP_SUMMARY"
- name: Install the marketplace and check the bundled skills
shell: python
run: |
Expand Down
Loading