From 544f03ec8bbfac9903f75d6d12aa5e5fce3a4d25 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Fri, 21 Apr 2023 22:26:30 +0200 Subject: [PATCH 1/2] CI: drop AppVeyor source release creation in favour of GH Actions --- .appveyor.yml | 7 ------- .ci/appveyor-create-release-tarball.sh | 7 ------- 2 files changed, 14 deletions(-) delete mode 100755 .ci/appveyor-create-release-tarball.sh diff --git a/.appveyor.yml b/.appveyor.yml index 9c2bc8cb..5170a90c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,7 +20,6 @@ init: install: - sudo apt-get -y install libsodium-dev libcap-ng-dev before_build: - - sh: "if [ ${APPVEYOR_REPO_TAG} == \"true\" ]; then .ci/appveyor-create-release-tarball.sh\nfi" - git submodule update --init --recursive - ./configure build_script: @@ -32,9 +31,3 @@ test_script: - sudo .ci/start-se-openvpn.sh - sudo .ci/run-openvpn-tests.sh -deploy: - description: 'automatic release' - provider: GitHub - auth_token: $(github_token) - on: - APPVEYOR_REPO_TAG: true diff --git a/.ci/appveyor-create-release-tarball.sh b/.ci/appveyor-create-release-tarball.sh deleted file mode 100755 index e335f120..00000000 --- a/.ci/appveyor-create-release-tarball.sh +++ /dev/null @@ -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 - From f7a2cc5a7d2e0de8dbb6abac4a07d9740f2d44a4 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Fri, 21 Apr 2023 22:27:47 +0200 Subject: [PATCH 2/2] CI: modernize GH release creation details: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/build_source_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_source_release.yml b/.github/workflows/build_source_release.yml index 3de43ed3..f2567459 100644 --- a/.github/workflows/build_source_release.yml +++ b/.github/workflows/build_source_release.yml @@ -26,7 +26,7 @@ jobs: mv /tmp/$PKGNAME . TARBALL=$PKGNAME.tar.xz tar cJf $TARBALL $PKGNAME - echo "::set-output name=tarball::$TARBALL" + echo "tarball=$TARBALL" >> $GITHUB_OUTPUT - name: upload tarball uses: actions/upload-release-asset@v1