mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-26 00:31:49 +01:00
try new release action
This commit is contained in:
parent
d996c44b24
commit
7fd57aaed8
58
.github/workflows/publish.yml
vendored
58
.github/workflows/publish.yml
vendored
@ -74,32 +74,42 @@ jobs:
|
|||||||
cd master
|
cd master
|
||||||
./.github/scripts/create-repo.sh
|
./.github/scripts/create-repo.sh
|
||||||
|
|
||||||
- name: Create Release
|
- name: Upload Release
|
||||||
id: create_release
|
- uses: xresloader/upload-to-github-release@master
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
file: "master/repo/*"
|
||||||
release_name: Release ${{ github.ref }}
|
tags: true
|
||||||
body: |
|
|
||||||
Release body
|
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: true
|
verbose: true
|
||||||
|
|
||||||
- name: Get the Ref
|
# - name: Create Release
|
||||||
id: get-ref
|
# id: create_release
|
||||||
uses: ankitvgupta/ref-to-tag-action@master
|
# uses: actions/create-release@v1
|
||||||
with:
|
# env:
|
||||||
ref: ${{ github.ref }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
head_ref: ${{ github.head_ref }}
|
# with:
|
||||||
|
# tag_name: ${{ github.ref }}
|
||||||
- name: Get the tag
|
# release_name: Release ${{ github.ref }}
|
||||||
run: echo "The tag was ${{ steps.get-ref.outputs.tag }}"
|
# body: |
|
||||||
|
# Release body
|
||||||
- name: Upload Release
|
# draft: false
|
||||||
uses: AButler/upload-release-assets@v2.0
|
# prerelease: true
|
||||||
with:
|
#
|
||||||
files: 'master/repo/*'
|
# - name: Get the Ref
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
# id: get-ref
|
||||||
release-tag: ${{ steps.get-ref.outputs.tag }}
|
# uses: ankitvgupta/ref-to-tag-action@master
|
||||||
|
# with:
|
||||||
|
# ref: ${{ github.ref }}
|
||||||
|
# head_ref: ${{ github.head_ref }}
|
||||||
|
#
|
||||||
|
# - name: Get the tag
|
||||||
|
# run: echo "The tag was ${{ steps.get-ref.outputs.tag }}"
|
||||||
|
#
|
||||||
|
# - name: Upload Release
|
||||||
|
# uses: AButler/upload-release-assets@v2.0
|
||||||
|
# with:
|
||||||
|
# files: 'master/repo/*'
|
||||||
|
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# release-tag: ${{ steps.get-ref.outputs.tag }}
|
||||||
|
Loading…
Reference in New Issue
Block a user