Fix: debian package (#1279)

This commit is contained in:
Loyalsoldier
2021-09-27 22:13:13 +01:00
committed by Shelikhoo
parent 4a056048cf
commit 3b1f8b8cc3
4 changed files with 7 additions and 17 deletions
+3 -9
View File
@@ -21,18 +21,16 @@ jobs:
package:
if: github.repository == 'v2fly/v2ray-core'
runs-on: ubuntu-latest
container: debian:sid
container: golang:1.17-bullseye
steps:
- name: Install git
- name: Update & install dependencies
run: |
apt-get update
apt-get install -y git wget
- name: Checkout codebase
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Download geo files
run: |
@@ -42,11 +40,7 @@ jobs:
- name: Install build dependencies
run: |
apt-get install -y build-essential dh-golang golang-1.17 reprepro
- name: Set environment variable
run: |
echo "PATH=/usr/lib/go-1.17/bin:${PATH}" >> $GITHUB_ENV
apt-get install -y build-essential dh-golang reprepro
- name: Build
run: |