Merge pull request 'feat: 為每個步驟加上名稱' (#2) from develop into master
Reviewed-on: #2
This commit is contained in:
+8
-4
@@ -18,18 +18,22 @@ outputs:
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- uses: https://gitea.jsc.idv.tw/actions/zip@v0.0.5
|
||||
- name: 壓縮套件
|
||||
uses: https://gitea.jsc.idv.tw/actions/zip@v0.0.5
|
||||
with:
|
||||
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
- name: 發布套件
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
name: "${{ inputs.PROJECT_NAME }} v${{ inputs.RELEASE_VERSION }}"
|
||||
tag_name: "v${{ inputs.RELEASE_VERSION }}"
|
||||
target_commitish: master
|
||||
files: |
|
||||
${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip
|
||||
- uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.5
|
||||
- name: 推送套件
|
||||
uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.5
|
||||
with:
|
||||
RELEASE_VERSION: "${{ inputs.RELEASE_VERSION }}"
|
||||
RUNNER_TOKEN: "${{ inputs.RUNNER_TOKEN }}"
|
||||
- uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.0
|
||||
- name: 清理發布
|
||||
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.0
|
||||
Reference in New Issue
Block a user