mirror of
https://github.com/UnnoTed/wireguird
synced 2026-07-25 17:24:46 -04:00
Merge e3cdd20975 into 6dac3cd878
This commit is contained in:
commit
b25ca8e1e1
24
.github/workflows/linux-x64-build.yml
vendored
Normal file
24
.github/workflows/linux-x64-build.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: linux 64 bit build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go
|
||||
- name: Compile
|
||||
run: |
|
||||
./package.sh
|
||||
- name: Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
path: |
|
||||
build
|
||||
@ -1,6 +1,6 @@
|
||||
Package: wireguird
|
||||
Source: wireguird
|
||||
Version: 1.1
|
||||
Version: 1.1.0
|
||||
Section: utils
|
||||
Priority: extra
|
||||
Architecture: amd64
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
echo "wireguird: cleaning..."
|
||||
|
||||
deb_file="./build/wireguird_amd64.deb"
|
||||
VERSION="1.1.0"
|
||||
|
||||
deb_file="./build/wireguird_${VERSION}_amd64.deb"
|
||||
if [ -e "$deb_file" ]; then
|
||||
rm -r "$deb_file"
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user