mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 11:42:27 +08:00
udpate release.yml
This commit is contained in:
parent
29806b899a
commit
6391dceb62
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -29,8 +29,11 @@ on:
|
|||
default: true
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
release:
|
||||
if: contains('["KKRainbow"]', github.actor)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -70,9 +73,9 @@ jobs:
|
|||
ls -l -R ./
|
||||
chmod -R 755 .
|
||||
|
||||
mkdir ./zipped
|
||||
mkdir ../zipped_assets
|
||||
for x in `ls`; do
|
||||
zip ./zipped/$x-${VERSION}.zip $x/*;
|
||||
zip ../zipped_assets/$x-${VERSION}.zip $x/*;
|
||||
done
|
||||
|
||||
- name: Release
|
||||
|
@ -81,6 +84,6 @@ jobs:
|
|||
name: ${{ inputs.version }}
|
||||
draft: true
|
||||
files: |
|
||||
./release_assets/zipped/*
|
||||
./zipped_assets/*
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag_name: ${{ inputs.version }}
|
Loading…
Reference in New Issue
Block a user