27
action.yaml
Normal file
27
action.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: 'DOTNET PACK'
|
||||
description: '打包套件'
|
||||
author: 'Jeffery'
|
||||
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 "${{ inputs.configuration }}" -o "${{ gitea.workspace }}/output" \
|
||||
/p:PackageVersion="${{ inputs.version }}" \
|
||||
/p:RepositoryUrl="${{ inputs.repository }}" \
|
||||
/p:RepositoryType="git" \
|
||||
/p:Authors="Jeffery" \
|
||||
/p:Company="jsc.idv.tw" \
|
||||
/p:Copyright="Copyright©2025 jsc.idv.tw" \
|
||||
/p:Description="${{ inputs.description }}"
|
||||
Reference in New Issue
Block a user