Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
23e19fc
Update README.md
thun888 Jan 3, 2024
37c1e4c
up
thun888 Jan 13, 2024
bd8b77a
Merge branch 'main' of https://github.com/thun888/mirouter-ui
thun888 Jan 13, 2024
79537f9
fix
thun888 Jan 13, 2024
2a8ac44
fix
thun888 Jan 13, 2024
266e190
fix
thun888 Jan 14, 2024
1fa30f7
fix
thun888 Jan 14, 2024
ba63228
Merge branch 'main' of https://github.com/thun888/mirouter-ui
thun888 Jan 14, 2024
1a6f04a
modify readme (#16)
thun888 Feb 7, 2024
cfd3cf4
fix (#17)
thun888 Feb 15, 2024
d831dbb
[Opt][Incomplete]Optimize history processing (#19)
thun888 Mar 10, 2024
55c6577
Update buildapp-dev.yml
thun888 Mar 10, 2024
307899e
Update buildapp-dev.yml
thun888 Mar 10, 2024
4785b88
[FIX][Build APP]Rclone (#20)
thun888 Mar 10, 2024
e0e2cb5
[FIX]History Record (#22)
thun888 Mar 24, 2024
9a2b735
[ADD]Support Devices History Display (#23)
thun888 Mar 24, 2024
002fc53
[OPT]build app (#24)
thun888 Mar 24, 2024
95f8f62
[OPT]float process (#25)
thun888 Mar 24, 2024
2d0b210
try fix Upload Release Assets (#26)
thun888 Mar 24, 2024
b99debc
[FIX] device history (#27)
thun888 Mar 24, 2024
3748dfd
Update buildapp.yml
thun888 Mar 24, 2024
e84fa8f
v1.3.3 (#29)
thun888 Apr 4, 2024
75fab0f
[Add][Opt]Add a check update parameter&Export the config from the pro…
thun888 Apr 5, 2024
a924e26
M readme.md
thun888 Apr 5, 2024
ae57758
Update README.md
thun888 Apr 9, 2024
d4c7ddd
Update README.md
thun888 Apr 11, 2024
8905db9
Update README.md
thun888 Apr 17, 2024
482c5cf
Update README.md
thun888 Apr 20, 2024
82f6259
[fix]Add a specific mac address
thun888 Jul 13, 2024
c5293a0
Merge branch 'main' of https://github.com/Mirouterui/mirouter-ui
thun888 Jul 13, 2024
393e7c1
[fix]wrong router history
thun888 Jul 15, 2024
a408257
[docs] move to the official website
thun888 Jul 21, 2024
0f5e23b
[repo]del useless files
thun888 Jul 21, 2024
ec065d8
[repo]del useless files
thun888 Jul 21, 2024
f4ff8cf
[repo]del useless files
thun888 Jul 21, 2024
cfa87e0
[feat]Add connectInfo through "xqnetwork/diagdevicelist"
thun888 Jul 25, 2024
48d99b2
[feat] add temperature display for CR8809
thun888 Jul 26, 2024
ff3519a
[fix]Repair the temperature acquisition module
thun888 Jul 26, 2024
6b3dc1c
[new]v2 (#49)
thun888 Jun 15, 2025
41809c3
[fix] modify action version and config module
thun888 Jun 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 29 additions & 49 deletions .github/workflows/buildapp-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,75 +7,53 @@ on:
workflow_dispatch:
push:
branches:
- dev
- main


jobs:
build_win:
runs-on: ubuntu-20.04
build:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install UPX
run: sudo apt-get install upx

- name: download modules
run: go mod download

- name: Run build script
run: bash build.sh dev win

build_linux:
runs-on: ubuntu-20.04
steps:

- name: Checkout code
uses: actions/checkout@v3


- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install UPX
run: sudo apt-get install upx

- name: download modules
run: go mod download

- name: Run build script
run: bash build.sh dev linux

build_darwin:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install UPX
run: sudo apt-get install upx

- name: download modules
run: go mod download

- name: Run build script
run: bash build.sh dev darwin

# 传入commit sha
run: bash build.sh ${{ github.sha }}

# 安装 rclone
# dev版本不另外发release
- name: Install rclone
run: |
cd ~
curl https://rclone.org/install.sh | sudo bash
# 配置 rclone
- name: Configure rclone
run: |
mkdir -p ~/.config/rclone
cat > ~/.config/rclone/rclone.conf << EOF
${{ secrets.RCLONECONFIG }}
EOF
- name: Sync to OneDrive
run: |
sudo timedatectl set-timezone "Asia/Shanghai"
rclone mkdir one:/share/Mirouter-ui/dev/${{ github.sha }}
rclone sync ./build one:/share/Mirouter-ui/dev/${{ github.sha }}

builddocker:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
-
name: Checkout
Expand All @@ -99,4 +77,6 @@ jobs:
context: .
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: thun888/mirouter-ui:dev
tags: thun888/mirouter-ui:dev
build-args: |
VERSION=${{ github.sha }}
75 changes: 37 additions & 38 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build_win:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:

- name: Checkout code
Expand All @@ -34,13 +34,13 @@ jobs:
run: bash build.sh ${{ github.event.inputs.version }} win

- name: upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mirouter-ui-win
path: ./build/**

build_linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:

- name: Checkout code
Expand All @@ -61,13 +61,13 @@ jobs:
run: bash build.sh ${{ github.event.inputs.version }} linux

- name: upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mirouter-ui-linux
path: ./build/**

build_darwin:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -87,13 +87,13 @@ jobs:
run: bash build.sh ${{ github.event.inputs.version }} darwin

- name: upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mirouter-ui-darwin
path: ./build/**

post_release:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [build_win, build_linux, build_darwin]
steps:
- name: Download artifacts
Expand All @@ -112,53 +112,52 @@ jobs:
name: mirouter-ui-darwin
path: ./build

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
- name: Upload Release Assets
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
artifacts: "build/*"
token: ${{ secrets.TOKEN }}
tag: ${{ github.event.inputs.version }}
name: Release ${{ github.event.inputs.version }}
draft: true
prerelease: false

- name: Upload Release Assets
# 安装 rclone
- name: Install rclone
run: |
cd ~
curl https://rclone.org/install.sh | sudo bash
# 配置 rclone
- name: Configure rclone
run: |
mkdir -p ~/.config/rclone
cat > ~/.config/rclone/rclone.conf << EOF
${{ secrets.RCLONECONFIG }}
EOF
- name: Sync to OneDrive
run: |
for file in ./build/*; do
if [ -f "$file" ]; then
echo "Uploading $file"
curl \
-H "Authorization: token ${{ secrets.TOKEN }}" \
-H "Content-Type: $(file -b --mime-type $file)" \
--data-binary @"$file" \
"${{ steps.create_release.outputs.upload_url }}=$(basename $file)"
fi
done

sudo timedatectl set-timezone "Asia/Shanghai"
rclone mkdir one:/share/Mirouter-ui/${{ github.event.inputs.version }}
rclone sync ./build one:/share/Mirouter-ui/${{ github.event.inputs.version }}
builddocker:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: thun888/mirouter-ui:latest
build-args: |
VERSION=${{ github.event.inputs.version }}
Loading
Loading