Skip to content

Commit

Permalink
Sleep 5 seconds after latest alpha release is deleted
Browse files Browse the repository at this point in the history
Creating the new release right away can make it
a draft, which is not visible.
  • Loading branch information
acogoluegnes committed Dec 14, 2023
1 parent f2e97d4 commit a3a0868
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-perf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
token: ${{ secrets.CI_GITHUB_TOKEN }}
tag-filter: '^v-rabbitmq-perf-test-latest$'
keep-last-n: 0
- name: Make sure latest release is deleted
run: |
sleep 5s
- name: Push to GitHub Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -70,4 +73,4 @@ jobs:
event-type: new_snapshot
client-payload: >-
{"archive_url" : "https://github.com/rabbitmq/rabbitmq-java-tools-binaries-dev/releases/download/${{ env.tag_name }}/perf-test-${{ env.release_version}}.jar",
"tags": "pivotalrabbitmq/perf-test:dev,pivotalrabbitmq/perf-test:dev-${{ env.release_version }}"}
"tags": "pivotalrabbitmq/perf-test:dev,pivotalrabbitmq/perf-test:dev-${{ env.release_version }}"}
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
token: ${{ secrets.CI_GITHUB_TOKEN }}
tag-filter: '^v-rabbitmq-perf-test-latest$'
keep-last-n: 0
- name: Make sure latest release is deleted
run: |
sleep 5s
- name: Push to GitHub Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit a3a0868

Please sign in to comment.