File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed
Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 5050# # this might remove tools that are actually needed,
5151# # if set to "true" but frees about 6 GB
5252# tool-cache: false
53- - uses : actions/checkout@v4
53+ - uses : actions/checkout@v6
5454 - name : Creating Web console
5555 uses : anyvm-org/cf-tunnel@v0
5656 id : tunnel
Original file line number Diff line number Diff line change 1616 generate :
1717 runs-on : ubuntu-24.04
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v6
2020 with :
2121 token : ${{ secrets.VM_TOKEN }}
2222 fetch-depth : ' 2'
Original file line number Diff line number Diff line change 1111 NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
1212 SEC_VBOX : ${{ vars.SEC_VBOX }}
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1515 - name : Creating web console
1616 uses : anyvm-org/cf-tunnel@v0
1717 id : tunnel
Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ jobs:
2121 readme :
2222 runs-on : ubuntu-latest
2323 steps :
24- - uses : actions/checkout@v4
24+ - uses : actions/checkout@v6
2525
2626 - name : Get latest release
2727 id : get-latest-release
28- uses : InsonusK/get-latest-release@v1.0.1
29- with :
30- myToken : ${{ github.token }}
31- view_top : 1
28+ env :
29+ GH_TOKEN : ${{ github.token }}
30+ run : |
31+ tag=$(gh api "repos/${{ github.repository }}/releases/latest" --jq .tag_name)
32+ echo "tag_name=$tag" >> $GITHUB_OUTPUT
3233
3334 - name : Using main branch
3435 run : |
Original file line number Diff line number Diff line change @@ -460,6 +460,17 @@ if [ -e "hooks/finalize.sh" ]; then
460460 ssh -o " SendEnv=VM_RELEASE" $osname sh< " hooks/finalize.sh"
461461fi
462462
463+
464+ # support VM_EXTRA_SCRIPT
465+ if [ " $VM_EXTRA_SCRIPT " ]; then
466+ echo " $VM_EXTRA_SCRIPT "
467+ export VM_RELEASE
468+ ssh -o " SendEnv=VM_RELEASE" $osname sh< " $VM_EXTRA_SCRIPT "
469+ fi
470+
471+
472+
473+
463474# Done!
464475shutdown_and_wait
465476
You can’t perform that action at this time.
0 commit comments