Skip to content

Commit

Permalink
to yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Mar 9, 2024
1 parent ab2b470 commit ccaa236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
- fetch
steps:
- name: compare dockerhub tag and deno latest version
run: '! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq ''.results[].name'' | grep -q ${{needs.fetch.outputs.deno_version}}'
run: echo deno_latest=$(! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq '.results[].name' | grep -q ${{needs.fetch.outputs.deno_version}}; echo ${?}) >> ${GITHUB_OUTPUT}
test:
if: ${{needs.compare.outputs.deno_latest == '1'}}
uses: ./.github/workflows/_test.yaml
with:
deno_version: ${{needs.fetch.outputs.deno_version}}
Expand Down

0 comments on commit ccaa236

Please sign in to comment.