From c91e8b54f812b94dffd42360a6f2dd3c17b1d778 Mon Sep 17 00:00:00 2001 From: Vahid Farid Date: Fri, 29 Mar 2024 14:25:59 +0330 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 583a21a9..a4cffbfc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ jobs: - name: Build run: npx wrangler build - - name: Add Header - run: cp ${{ github.workspace }}/dist/worker.js ${{ github.workspace }}/dist/worker-original.js && echo -e "/*!\r\n * v2ray Subscription Worker (${{ github.sha }})\r\n * Copyright 2024 Vahid Farid (https://twitter.com/vahidfarid)\r\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker/blob/main/Licence.md)\r\n */\r\n\r\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js +# - name: Add Header +# run: cp ${{ github.workspace }}/dist/worker.js ${{ github.workspace }}/dist/worker-original.js && echo -e "/*!\r\n * v2ray Subscription Worker (${{ github.sha }})\r\n * Copyright 2024 Vahid Farid (https://twitter.com/vahidfarid)\r\n * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker/blob/main/Licence.md)\r\n */\r\n\r\n$(cat ${{ github.workspace }}/dist/worker.js)" > ${{ github.workspace }}/dist/worker.js - name: Upload to Artifacts uses: actions/upload-artifact@v4