mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 14:57:52 +00:00
ci: remove support for deb
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
name: Build and Release DEB Package
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.19'
|
||||
|
||||
- name: Build and Create DEB Package
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y dh-make debhelper
|
||||
TAG_NAME=${GITHUB_REF##*/}
|
||||
dpkg-buildpackage -us -uc
|
||||
|
||||
- name: Upload DEB Package to GitHub Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: ./deeplx-${{ steps.extract_tag.outputs.tag }}.deb
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user