mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-24 08:55:33 +08:00
34 lines
758 B
YAML
34 lines
758 B
YAML
name: checkout-better-cf-ip
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- '.github/workflows/checkout-better-cf-ip.yml'
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 16 * * *'
|
|
|
|
jobs:
|
|
checkout-better-cf-ip:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/github-script@v7
|
|
id: latest_tag
|
|
with:
|
|
#result-encoding: string
|
|
retries: 3
|
|
script: |
|
|
const ret = github.rest.repos.getLatestRelease({
|
|
owner: "XIU2",
|
|
repo: "CloudflareSpeedTest"
|
|
})
|
|
console.log(ret)
|
|
return ret
|
|
- name: confirm release tag
|
|
run: |
|
|
echo ${{ steps.latest_tag.outputs.result }}
|