Compare commits
3 Commits
624a8a8bb9
...
v0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
| afac1272c3 | |||
| 1e83061a9b | |||
| fbbe366958 |
@@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- name: 計算版本號
|
||||
id: version
|
||||
uses: https://gitea.jsc.idv.tw/jiantw83/calculate-version-action@v${{ vars.CALCULATE_VERSION }}
|
||||
uses: https://gitea.jsc.idv.tw/jiantw83/calculate-version-action@${{ vars.ACTION_CALCULATE_VERSION }}
|
||||
with:
|
||||
gitea-server: ${{ gitea.server_url }}
|
||||
repository: ${{ gitea.repository }}
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
with:
|
||||
tag_name: "v${{ steps.version.outputs.VERSION }}"
|
||||
- name: 清理舊版本 (保留最新2個)
|
||||
uses: https://gitea.jsc.idv.tw/jiantw83/cleanup-release-action@v${{ vars.CLEANUP_RELEASE_VERSION }}
|
||||
uses: https://gitea.jsc.idv.tw/jiantw83/cleanup-release-action@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
|
||||
with:
|
||||
gitea-server: ${{ gitea.server_url }}
|
||||
repository: ${{ gitea.repository }}
|
||||
|
||||
@@ -35,4 +35,4 @@ runs:
|
||||
unzip "$DOWNLOAD_NAME" -d output
|
||||
|
||||
echo "ARTIFACT PUSHING..."
|
||||
dotnet nuget push "output/*.nupkg" --source "${{ inputs.source }}" --api-key "${{ inputs.api_key }}" --skip-duplicate
|
||||
dotnet nuget push "output/*.nupkg" --source "${{ inputs.source }}" --api-key "${{ inputs.api_key }}" --skip-duplicate --allow-insecure-connections
|
||||
Reference in New Issue
Block a user