mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-20 18:52:36 +01:00
[RELEASE CI] test new release
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
name: CI
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
check_wrapper:
|
||||
@@ -21,7 +20,6 @@ jobs:
|
||||
build:
|
||||
name: Build FatJar
|
||||
needs: check_wrapper
|
||||
if: "!startsWith(github.event.head_commit.message, '[SKIP CI]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -70,27 +68,27 @@ jobs:
|
||||
cd master
|
||||
./.github/scripts/create-repo.sh
|
||||
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
Release body
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release
|
||||
uses: AButler/upload-release-assets@v2.0
|
||||
if: "startsWith(github.event.head_commit.message, '[RELEASE CI]')"
|
||||
with:
|
||||
files: 'master/repo/*'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
release-tag: 'v.0.2.0'
|
||||
|
||||
# - name: Create Release
|
||||
# if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk' && startsWith(github.event.head_commit.message, '[RELEASE CI]')
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ github.ref }}
|
||||
# release_name: Release ${{ github.ref }}
|
||||
# body: |
|
||||
# Release body
|
||||
# draft: true
|
||||
# prerelease: false
|
||||
release-tag: ${{ github.ref }}
|
||||
|
||||
# - name: Checkout repo branch
|
||||
# if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||
Reference in New Issue
Block a user