Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Feb 24, 2024
1 parent b7ee352 commit a766dab
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,20 @@ jobs:
run: |
sudo apt-get install dpkg ruby ruby-dev rubygems build-essential && sudo gem install --no-document fpm
mkdir -p mihomo/DEBIAN
mkdir -p mihomo/usr/bin
mkdir -p mihomo/etc/mihomo
mkdir -p mihomo/usr/share/licenses/mihomo
mkdir -p mihomo-${VERSION}/DEBIAN
mkdir -p mihomo-${VERSION}/usr/bin
mkdir -p mihomo-${VERSION}/etc/mihomo
mkdir -p mihomo-${VERSION}/usr/share/licenses/mihomo
cp mihomo mihomo/usr/bin/
cp LICENSE mihomo/usr/share/licenses/mihomo/
cp mihomo mihomo-${VERSION}/usr/bin/
cp LICENSE mihomo-${VERSION}/usr/share/licenses/mihomo/
cat > mihomo/etc/mihomo/config.yaml <<EOF
cat > mihomo-${VERSION}/etc/mihomo/config.yaml <<EOF
mixed-port: 7890
external-controller: 127.0.0.1:9090
EOF
cat > ./mihomo/DEBIAN/control <<EOF
cat > mihomo-${VERSION}/DEBIAN/control <<EOF
Package: mihomo
Version: ${VERSION}
Section:
Expand All @@ -134,7 +134,7 @@ jobs:
EOF
dpkg-deb --build mihomo
dpkg-deb --build mihomo-${VERSION}
- name: Save version
run: |
Expand Down

0 comments on commit a766dab

Please sign in to comment.