Skip to content

Commit bef5110

Browse files
author
Vahid Farid
committed
Update build.yml
1 parent 2d567b6 commit bef5110

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626
run: npx wrangler build
2727

2828
- name: Add Header
29-
run: echo "/*!\n * v2ray Subscription Worker v1.6\n * Copyright 2023 Vahid Farid (https://twitter.com/vahidfarid)\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker-sub/blob/main/Licence.md)\n */\n\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js
29+
run: echo -e "/*!\n * v2ray Subscription Worker v1.6\n * Copyright 2023 Vahid Farid (https://twitter.com/vahidfarid)\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker-sub/blob/main/Licence.md)\n */\n\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js
3030

3131
- name: Upload to Artifacts
3232
uses: actions/upload-artifact@v4
3333
with:
3434
name: worker
3535
path: ${{ github.workspace }}/dist/worker.js
36-
compression-level: 0
3736

3837
- name: Upload to GitHub Release
3938
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)