mirror of
https://github.com/EasyTier/EasyTier.git
synced 2025-09-26 20:51:17 +08:00

Some checks failed
EasyTier Core / pre_job (push) Has been cancelled
EasyTier Core / build_web (push) Has been cancelled
EasyTier Core / build (freebsd-13.2-x86_64, 13.2, ubuntu-22.04, x86_64-unknown-freebsd) (push) Has been cancelled
EasyTier Core / build (linux-aarch64, ubuntu-22.04, aarch64-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-arm, ubuntu-22.04, arm-unknown-linux-musleabi) (push) Has been cancelled
EasyTier Core / build (linux-armhf, ubuntu-22.04, arm-unknown-linux-musleabihf) (push) Has been cancelled
EasyTier Core / build (linux-armv7, ubuntu-22.04, armv7-unknown-linux-musleabi) (push) Has been cancelled
EasyTier Core / build (linux-armv7hf, ubuntu-22.04, armv7-unknown-linux-musleabihf) (push) Has been cancelled
EasyTier Core / build (linux-mips, ubuntu-22.04, mips-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-mipsel, ubuntu-22.04, mipsel-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-x86_64, ubuntu-22.04, x86_64-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (macos-aarch64, macos-latest, aarch64-apple-darwin) (push) Has been cancelled
EasyTier Core / build (macos-x86_64, macos-latest, x86_64-apple-darwin) (push) Has been cancelled
EasyTier Core / build (windows-arm64, windows-latest, aarch64-pc-windows-msvc) (push) Has been cancelled
EasyTier Core / build (windows-i686, windows-latest, i686-pc-windows-msvc) (push) Has been cancelled
EasyTier Core / build (windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled
EasyTier Core / core-result (push) Has been cancelled
EasyTier Core / magisk_build (push) Has been cancelled
EasyTier GUI / pre_job (push) Has been cancelled
EasyTier GUI / build-gui (linux-aarch64, aarch64-unknown-linux-gnu, ubuntu-22.04, aarch64-unknown-linux-musl) (push) Has been cancelled
EasyTier GUI / build-gui (linux-x86_64, x86_64-unknown-linux-gnu, ubuntu-22.04, x86_64-unknown-linux-musl) (push) Has been cancelled
EasyTier GUI / build-gui (macos-aarch64, aarch64-apple-darwin, macos-latest, aarch64-apple-darwin) (push) Has been cancelled
EasyTier GUI / build-gui (macos-x86_64, x86_64-apple-darwin, macos-latest, x86_64-apple-darwin) (push) Has been cancelled
EasyTier GUI / build-gui (windows-arm64, aarch64-pc-windows-msvc, windows-latest, aarch64-pc-windows-msvc) (push) Has been cancelled
EasyTier GUI / build-gui (windows-i686, i686-pc-windows-msvc, windows-latest, i686-pc-windows-msvc) (push) Has been cancelled
EasyTier GUI / build-gui (windows-x86_64, x86_64-pc-windows-msvc, windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled
EasyTier GUI / gui-result (push) Has been cancelled
EasyTier Mobile / pre_job (push) Has been cancelled
EasyTier Mobile / build-mobile (android, ubuntu-22.04, android) (push) Has been cancelled
EasyTier Mobile / mobile-result (push) Has been cancelled
EasyTier OHOS / pre_job (push) Has been cancelled
EasyTier OHOS / build-ohos (push) Has been cancelled
EasyTier Test / pre_job (push) Has been cancelled
EasyTier Test / test (push) Has been cancelled
* bump version to v2.4.0 * update tauri. * allow try direct connect to public server
99 lines
2.7 KiB
YAML
99 lines
2.7 KiB
YAML
name: EasyTier Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
core_run_id:
|
|
description: 'The run id of EasyTier-Core Action in EasyTier repo'
|
|
type: number
|
|
default: 10322498549
|
|
required: true
|
|
gui_run_id:
|
|
description: 'The run id of EasyTier-GUI Action in EasyTier repo'
|
|
type: number
|
|
default: 10322498557
|
|
required: true
|
|
mobile_run_id:
|
|
description: 'The run id of EasyTier-Mobile Action in EasyTier repo'
|
|
type: number
|
|
default: 10322498555
|
|
required: true
|
|
version:
|
|
description: 'Version for this release'
|
|
type: string
|
|
default: 'v2.4.0'
|
|
required: true
|
|
make_latest:
|
|
description: 'Mark this release as latest'
|
|
type: boolean
|
|
default: true
|
|
required: true
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
if: contains('["KKRainbow"]', github.actor)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download Core Artifact
|
|
uses: dawidd6/action-download-artifact@v11
|
|
with:
|
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
|
run_id: ${{ inputs.core_run_id }}
|
|
repo: EasyTier/EasyTier
|
|
path: release_assets
|
|
|
|
- name: Download GUI Artifact
|
|
uses: dawidd6/action-download-artifact@v11
|
|
with:
|
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
|
run_id: ${{ inputs.gui_run_id }}
|
|
repo: EasyTier/EasyTier
|
|
path: release_assets_nozip
|
|
|
|
- name: Download Mobile Artifact
|
|
uses: dawidd6/action-download-artifact@v11
|
|
with:
|
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
|
run_id: ${{ inputs.mobile_run_id }}
|
|
repo: EasyTier/EasyTier
|
|
path: release_assets_nozip
|
|
|
|
- name: Zip release assets
|
|
env:
|
|
VERSION: ${{ inputs.version }}
|
|
run: |
|
|
mkdir zipped_assets
|
|
|
|
find release_assets_nozip -type f -exec mv {} zipped_assets \;
|
|
ls -l -R ./zipped_assets
|
|
|
|
cd release_assets
|
|
ls -l -R ./
|
|
chmod -R 755 .
|
|
for x in `ls`; do
|
|
if [ "$x" = "Easytier-Magisk" ]; then
|
|
# for Easytier-Magisk, make sure files are in the root of the zip
|
|
cd $x;
|
|
zip -r ../../zipped_assets/$x-${VERSION}.zip .;
|
|
cd ..;
|
|
else
|
|
zip -r ../zipped_assets/$x-${VERSION}.zip $x;
|
|
fi
|
|
done
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
name: ${{ inputs.version }}
|
|
draft: true
|
|
files: |
|
|
./zipped_assets/*
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
tag_name: ${{ inputs.version }} |