mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Merge pull request #1828 from chipitsine/cleanup_source_release_pipeline
Cleanup source release pipeline
This commit is contained in:
commit
c983ebffc1
@ -20,7 +20,6 @@ init:
|
|||||||
install:
|
install:
|
||||||
- sudo apt-get -y install libsodium-dev libcap-ng-dev
|
- sudo apt-get -y install libsodium-dev libcap-ng-dev
|
||||||
before_build:
|
before_build:
|
||||||
- sh: "if [ ${APPVEYOR_REPO_TAG} == \"true\" ]; then .ci/appveyor-create-release-tarball.sh\nfi"
|
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- ./configure
|
- ./configure
|
||||||
build_script:
|
build_script:
|
||||||
@ -32,9 +31,3 @@ test_script:
|
|||||||
- sudo .ci/start-se-openvpn.sh
|
- sudo .ci/start-se-openvpn.sh
|
||||||
- sudo .ci/run-openvpn-tests.sh
|
- sudo .ci/run-openvpn-tests.sh
|
||||||
|
|
||||||
deploy:
|
|
||||||
description: 'automatic release'
|
|
||||||
provider: GitHub
|
|
||||||
auth_token: $(github_token)
|
|
||||||
on:
|
|
||||||
APPVEYOR_REPO_TAG: true
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
tar --exclude=.git --transform "s//SoftEtherVPN-${APPVEYOR_REPO_TAG_NAME}\//" -czf /tmp/softether-vpn-src-${APPVEYOR_REPO_TAG_NAME}.tar.gz .
|
|
||||||
appveyor PushArtifact /tmp/softether-vpn-src-${APPVEYOR_REPO_TAG_NAME}.tar.gz
|
|
||||||
|
|
2
.github/workflows/build_source_release.yml
vendored
2
.github/workflows/build_source_release.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
mv /tmp/$PKGNAME .
|
mv /tmp/$PKGNAME .
|
||||||
TARBALL=$PKGNAME.tar.xz
|
TARBALL=$PKGNAME.tar.xz
|
||||||
tar cJf $TARBALL $PKGNAME
|
tar cJf $TARBALL $PKGNAME
|
||||||
echo "::set-output name=tarball::$TARBALL"
|
echo "tarball=$TARBALL" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: upload tarball
|
- name: upload tarball
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user