Compare commits
17 Commits
v0.1.9
...
e40a7adad6
| Author | SHA1 | Date | |
|---|---|---|---|
| e40a7adad6 | |||
|
|
49839e72a0 | ||
| 214ec5f7bd | |||
|
|
5ca3f9b08a | ||
| 829c119657 | |||
| 2ac7efe907 | |||
| 74e3e758c9 | |||
| 3e32b71abe | |||
| a8eaa2a293 | |||
| f6925cc5e7 | |||
| 2daf39673a | |||
| f3afba6e49 | |||
| c5b69ac380 | |||
| 963fa24ce0 | |||
| 93402e99ee | |||
| ac72d18016 | |||
| 70cac9e740 |
21
action.yml
21
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 != '' }}
|
||||
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