mirror of
https://github.com/darkclip/netlist.git
synced 2026-12-06 14:58:43 +08:00
update
This commit is contained in:
1 parent
0fe5c8a3a1
commit
db069109ff
1 file changed
+10
-8
+10
-8
@@ -1,17 +1,17 @@
|
|||||||
name: checkout-better-cf-ip
|
name: fetch-better-cf-ip
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/checkout-better-cf-ip.yml'
|
- '.github/workflows/fetch-better-cf-ip.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 16 * * *'
|
- cron: '0 16 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-better-cf-ip:
|
fetch-better-cf-ip:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -29,12 +29,14 @@ jobs:
|
|||||||
})
|
})
|
||||||
console.log(ret.data.tag_name)
|
console.log(ret.data.tag_name)
|
||||||
return ret.data.tag_name
|
return ret.data.tag_name
|
||||||
- name: Checkout reference branch 1
|
- name: Fetch reference branch 1
|
||||||
uses: actions/checkout@v4
|
uses: dsaltares/fetch-gh-release-asset@master
|
||||||
with:
|
with:
|
||||||
repository: XIU2/CloudflareSpeedTest
|
repo: XIU2/CloudflareSpeedTest
|
||||||
ref: ${{steps.latest_tag.outputs.result}}
|
version: tags/${{steps.latest_tag.outputs.result}}
|
||||||
path: ref1
|
regex: true
|
||||||
|
file: "CloudflareST_*"
|
||||||
|
target: 'ref1/'
|
||||||
- name: Checkout target branch
|
- name: Checkout target branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
Reference in new issue
Block a user