[RELEASE CI] test new release

This commit is contained in:
Aria Moradi 2021-02-13 14:01:01 +03:30
parent ba45e18399
commit fdaeb6d1fa
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,8 @@ mkdir -p repo/
cp server/build/Tachidesk-*.jar repo/ cp server/build/Tachidesk-*.jar repo/
cp server/build/Tachidesk-*.zip repo/ cp server/build/Tachidesk-*.zip repo/
ls repo
pwd
#if [ "$filter_count" -gt 0 ]; then #if [ "$filter_count" -gt 0 ]; then
# cp server/build/Tachidesk-*.jar repo/ # cp server/build/Tachidesk-*.jar repo/

View File

@ -84,11 +84,10 @@ jobs:
- name: Upload Release - name: Upload Release
uses: AButler/upload-release-assets@v2.0 uses: AButler/upload-release-assets@v2.0
if: "startsWith(github.event.head_commit.message, '[RELEASE CI]')"
with: with:
files: 'master/repo/*' files: 'master/repo/*'
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref }} # release-tag: ${{ github.ref }}
# - name: Checkout repo branch # - name: Checkout repo branch
# if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk' # if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'