generated from deepin-community/template-repository-main
上传文件至 .github/workflows
Some checks failed
Build and Package Golang / build (push) Failing after 2m50s
Some checks failed
Build and Package Golang / build (push) Failing after 2m50s
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -21,13 +21,13 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y debhelper dh-golang build-essential wget
|
||||
wget https://go.dev/dl/go1.22.6.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf go1.22.6.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf go1.22.6.linux-amd64.tar.gz
|
||||
|
||||
- name: Build Golang
|
||||
run: |
|
||||
export GOROOT_BOOTSTRAP=/usr/local/go
|
||||
cd src
|
||||
./make.bash
|
||||
./make.bash
|
||||
|
||||
- name: Prepare Debian metadata
|
||||
run: |
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
cat <<EOF > debian/rules
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh \$@
|
||||
dh \$@
|
||||
EOF
|
||||
|
||||
chmod +x debian/rules
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
|
||||
- name: Package into .deb
|
||||
run: |
|
||||
dpkg-buildpackage -us -uc
|
||||
dpkg-buildpackage -us -uc
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Reference in New Issue
Block a user