Merge pull request 'feat: 修改指令執行格式' (#15) from develop into master
All checks were successful
/ CD > 發布專案 (push) Successful in 3s
All checks were successful
/ CD > 發布專案 (push) Successful in 3s
Reviewed-on: #15
This commit is contained in:
19
action.yml
19
action.yml
@@ -28,25 +28,10 @@ runs:
|
||||
- name: 清理舊版本
|
||||
id: cleanup
|
||||
shell: bash
|
||||
run: |
|
||||
chmod +x "${{ github.action_path }}/cleanup-releases.sh"
|
||||
"${{ github.action_path }}/cleanup-releases.sh" \
|
||||
"${{ inputs.gitea-server }}" \
|
||||
"${{ inputs.repository }}" \
|
||||
"${{ inputs.token }}" \
|
||||
"${{ inputs.keep-count }}" \
|
||||
"${{ inputs.dry-run }}"
|
||||
run: chmod +x "${{ github.action_path }}/cleanup-releases.sh" && "${{ github.action_path }}/cleanup-releases.sh" "${{ inputs.gitea-server }}" "${{ inputs.repository }}" "${{ inputs.token }}" "${{ inputs.keep-count }}" "${{ inputs.dry-run }}"
|
||||
|
||||
- name: 清理舊映像
|
||||
id: cleanup-images
|
||||
if: inputs.package-name != ''
|
||||
shell: bash
|
||||
run: |
|
||||
chmod +x "${{ github.action_path }}/cleanup-images.sh"
|
||||
"${{ github.action_path }}/cleanup-images.sh" \
|
||||
"${{ inputs.gitea-server }}" \
|
||||
"${{ inputs.repository }}" \
|
||||
"${{ inputs.package-name }}" \
|
||||
"${{ inputs.token }}" \
|
||||
"${{ inputs.keep-count }}" \
|
||||
"${{ inputs.dry-run }}"
|
||||
run: chmod +x "${{ github.action_path }}/cleanup-images.sh" && "${{ github.action_path }}/cleanup-images.sh" "${{ inputs.gitea-server }}" "${{ inputs.repository }}" "${{ inputs.package-name }}" "${{ inputs.token }}" "${{ inputs.keep-count }}" "${{ inputs.dry-run }}"
|
||||
|
||||
Reference in New Issue
Block a user