File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 26
26
run : npx wrangler build
27
27
28
28
- name : Add Header
29
- run : cp worker.js worker-original.js && echo -e "/*!\n * v2ray Subscription Worker (${{ github.head_ref }}.${{ github.sha }})\n * Copyright 2024 Vahid Farid (https://twitter.com/vahidfarid)\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker/blob/main/Licence.md)\n */\n\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js
29
+ run : cp ${{ github.workspace }}/dist/ worker.js ${{ github.workspace }}/dist/ worker-original.js && echo -e "/*!\n * v2ray Subscription Worker (${{ github.head_ref }}.${{ github.sha }})\n * Copyright 2024 Vahid Farid (https://twitter.com/vahidfarid)\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker/blob/main/Licence.md)\n */\n\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js
30
30
31
31
- name : Upload to Artifacts
32
32
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments