Compare commits
8 Commits
release
...
888cae3db2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
888cae3db2 | ||
|
|
78253e9314 | ||
|
|
77662b71d2 | ||
|
|
207f392e80 | ||
|
|
507a24eb3d | ||
| 4282359e54 | |||
| 6d46193f5d | |||
| b8c6ba1355 |
@@ -1,58 +1,24 @@
|
|||||||
---
|
name: release
|
||||||
name: gitea-release-action
|
|
||||||
description: "An action to support publishing release to Gitea."
|
on:
|
||||||
author: "Akkuman"
|
push:
|
||||||
inputs:
|
tags:
|
||||||
server_url:
|
- "*"
|
||||||
description: the base url of the gitea API
|
|
||||||
required: false
|
jobs:
|
||||||
default: ${{ github.server_url }}
|
release:
|
||||||
body:
|
runs-on: ubuntu-latest
|
||||||
description: "Note-worthy description of changes in release"
|
|
||||||
required: false
|
steps:
|
||||||
default: ${{ github.event.release.body != '' && github.event.release.body || null }}
|
- uses: actions/checkout@v4
|
||||||
body_path:
|
with:
|
||||||
description: "Path to load description of changes in this release"
|
fetch-depth: 0
|
||||||
required: false
|
|
||||||
name:
|
- name: Create Gitea Release
|
||||||
description: "Gives the release a custom name. Defaults to tag name"
|
uses: akkuman/gitea-release-action@v1
|
||||||
required: false
|
with:
|
||||||
default: ${{ github.event.release.name != '' && github.event.release.name || github.ref_name }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
tag_name:
|
tag_name: ${{ gitea.ref_name }}
|
||||||
description: "Gives a tag name. Defaults to github.GITHUB_REF"
|
name: ${{ gitea.ref_name }}
|
||||||
required: false
|
body: "Automated release"
|
||||||
default: ${{ github.ref_name }}
|
|
||||||
draft:
|
|
||||||
description: "Creates a draft release. Defaults to false"
|
|
||||||
required: false
|
|
||||||
default: ${{ github.event.release.draft || false }}
|
|
||||||
prerelease:
|
|
||||||
description: "Identify the release as a prerelease. Defaults to false"
|
|
||||||
required: false
|
|
||||||
default: ${{ github.event.release.prerelease || false }}
|
|
||||||
files:
|
|
||||||
description: "Newline-delimited list of path globs for asset files to upload"
|
|
||||||
required: false
|
|
||||||
repository:
|
|
||||||
description: "Repository to make releases against, in <owner>/<repo> format"
|
|
||||||
required: false
|
|
||||||
default: ${{ github.repository }}
|
|
||||||
token:
|
|
||||||
description: "Gitea Token"
|
|
||||||
required: false
|
|
||||||
default: ${{ github.token }}
|
|
||||||
target_commitish:
|
|
||||||
description: 'Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA.'
|
|
||||||
required: false
|
|
||||||
md5sum:
|
|
||||||
description: 'Publish `.md5` along with artifacts.'
|
|
||||||
required: false
|
|
||||||
sha256sum:
|
|
||||||
description: 'Publish `.sha256` along with artifacts.'
|
|
||||||
required: false
|
|
||||||
runs:
|
|
||||||
using: "node16"
|
|
||||||
main: "dist/index.js"
|
|
||||||
branding:
|
|
||||||
color: "green"
|
|
||||||
icon: "package"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user