mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 00:42:43 +08:00
delete custom code for bypass
This commit is contained in:
48
.github/workflows/build-client.yml
vendored
48
.github/workflows/build-client.yml
vendored
@@ -1,48 +0,0 @@
|
||||
name: build client
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- name: pkg edge tunnel client
|
||||
run: npx nx run edge-bypass-client:pkg
|
||||
- name: copy config file
|
||||
run: cp dist/apps/edge-bypass-client/assets/config.json dist/pkg/edge-tunnel-client
|
||||
- name: linux arm64 package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: edgetunnel-linux-arm64
|
||||
path: |
|
||||
dist/pkg/edge-tunnel-client/edgetunnel-linux-arm64
|
||||
dist/pkg/edge-tunnel-client/config.json
|
||||
- name: linux x64 package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: edgetunnel-linux-x64
|
||||
path: |
|
||||
dist/pkg/edge-tunnel-client/edgetunnel-linux-x64
|
||||
dist/pkg/edge-tunnel-client/config.json
|
||||
- name: macos x64 package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: edgetunnel-macos-x64
|
||||
path: |
|
||||
dist/pkg/edge-tunnel-client/edgetunnel-macos-x64
|
||||
dist/pkg/edge-tunnel-client/config.json
|
||||
- name: win x64 package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: edgetunnel-win-x64
|
||||
path: |
|
||||
dist/pkg/edge-tunnel-client/edgetunnel-win-x64.exe
|
||||
dist/pkg/edge-tunnel-client/config.json
|
||||
37
.github/workflows/release.yml
vendored
37
.github/workflows/release.yml
vendored
@@ -1,37 +0,0 @@
|
||||
name: release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- name: pkg edge tunnel client
|
||||
run: npx nx run edge-bypass-client:pkg
|
||||
- name: copy config file
|
||||
run: cp dist/apps/edge-bypass-client/assets/config.json dist/pkg/edge-tunnel-client
|
||||
- name: zip edgetunnel-linux-arm64
|
||||
run: zip -j edgetunnel-linux-arm64-${{github.run_number}}.zip dist/pkg/edge-tunnel-client/edgetunnel-linux-arm64 dist/pkg/edge-tunnel-client/config.json
|
||||
- name: zip edgetunnel-linux-x64
|
||||
run: zip -j edgetunnel-linux-x64-${{github.run_number}}.zip dist/pkg/edge-tunnel-client/edgetunnel-linux-x64 dist/pkg/edge-tunnel-client/config.json
|
||||
- name: zip edgetunnel-macos-x64
|
||||
run: zip -j edgetunnel-macos-x64-${{github.run_number}}.zip dist/pkg/edge-tunnel-client/edgetunnel-macos-x64 dist/pkg/edge-tunnel-client/config.json
|
||||
- name: zip edgetunnel-win-x64
|
||||
run: zip -j edgetunnel-win-x64-${{github.run_number}}.zip dist/pkg/edge-tunnel-client/edgetunnel-win-x64.exe dist/pkg/edge-tunnel-client/config.json
|
||||
- name: Upload release files
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
if: github.event_name == 'release'
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file_glob: true
|
||||
file: edgetunnel*.zip
|
||||
tag: ${{ github.ref }}
|
||||
Reference in New Issue
Block a user