1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-23 19:59:21 +03:00

Update workflows

This commit is contained in:
Syuugo
2024-06-16 00:31:25 +09:00
parent 4fe5352931
commit 9a7e55b3e0
9 changed files with 88 additions and 54 deletions

View File

@ -8,15 +8,16 @@ on:
jobs:
build:
name: build
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: archive
- name: Archive
id: archive
run: |
VERSION=${{ github.event.release.tag_name }}
@ -28,12 +29,8 @@ jobs:
tar cJf $TARBALL $PKGNAME
echo "tarball=$TARBALL" >> $GITHUB_OUTPUT
- name: upload tarball
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload tarball
uses: softprops/action-gh-release@v2
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./${{ steps.archive.outputs.tarball }}
asset_name: ${{ steps.archive.outputs.tarball }}
asset_content_type: application/gzip
files: ./${{ steps.archive.outputs.tarball }}
name: ${{ steps.archive.outputs.tarball }}