Merge pull request 'feat: 修正設定' (#5) from develop into master
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
28
action.yaml
28
action.yaml
@@ -32,30 +32,4 @@ runs:
|
|||||||
RELEASE_AUTHOR: ${{ inputs.RELEASE_AUTHOR }}
|
RELEASE_AUTHOR: ${{ inputs.RELEASE_AUTHOR }}
|
||||||
RELEASE_COMPANY: ${{ inputs.RELEASE_COMPANY }}
|
RELEASE_COMPANY: ${{ inputs.RELEASE_COMPANY }}
|
||||||
RELEASE_COPYRIGHT: "Copyright©2025 ${{ inputs.RELEASE_COMPANY }}"
|
RELEASE_COPYRIGHT: "Copyright©2025 ${{ inputs.RELEASE_COMPANY }}"
|
||||||
RELEASE_DESCRIPTION: ${{ inputs.RELEASE_DESCRIPTION }}
|
RELEASE_DESCRIPTION: ${{ inputs.RELEASE_DESCRIPTION }}
|
||||||
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
project:
|
|
||||||
required: true
|
|
||||||
configuration:
|
|
||||||
default: 'Release'
|
|
||||||
repository:
|
|
||||||
required: true
|
|
||||||
version:
|
|
||||||
required: true
|
|
||||||
description:
|
|
||||||
default: '共用套件'
|
|
||||||
runs:
|
|
||||||
using: "composite"
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
cd "${{ gitea.workspace }}/${{ inputs.project }}"
|
|
||||||
dotnet pack -c "$CONFIGURATION" -o "${{ gitea.workspace }}/output" \
|
|
||||||
/p:PackageVersion="$RELEASE_VERSION" \
|
|
||||||
/p:RepositoryUrl="$GITEA_REPOSITORY" \
|
|
||||||
/p:RepositoryType="git" \
|
|
||||||
/p:Authors="$RELEASE_AUTHOR" \
|
|
||||||
/p:Company="$RELEASE_COMPANY" \
|
|
||||||
/p:Copyright="$RELEASE_COPYRIGHT" \
|
|
||||||
/p:Description="${{ inputs.description }}"
|
|
||||||
Reference in New Issue
Block a user