fix flaky simulators ci

This commit is contained in:
jangko 2023-02-23 20:17:15 +07:00
parent 55b4baa6ba
commit 155652360a
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 14 additions and 12 deletions

View File

@ -155,6 +155,12 @@ jobs:
- name: Download artefacts - name: Download artefacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
- name: Create statistics notes
run: |
cat linux_amd64_stat/* > stat_notes.md
cat macos_amd64_stat/* >> stat_notes.md
cat windows_amd64_stat/* >> stat_notes.md
- name: Delete tag - name: Delete tag
uses: dev-drprasad/delete-tag-and-release@v0.2.0 uses: dev-drprasad/delete-tag-and-release@v0.2.0
with: with:
@ -163,19 +169,15 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create statistics notes
run: |
cat linux_amd64_stat/* > stat_notes.md
cat macos_amd64_stat/* >> stat_notes.md
cat windows_amd64_stat/* >> stat_notes.md
- name: Simulators results - name: Simulators results
run: | uses: ncipollo/release-action@v1
gh release create sim-stat --target master \ with:
--title 'Simulators results ("master" branch)' \ allowUpdates: true
--notes-file stat_notes.md prerelease: true
env: commit: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} name: "Simulators results"
tag: sim-stat
bodyFile: "stat_notes.md"
- name: Delete artefacts - name: Delete artefacts
uses: geekyeggo/delete-artifact@v2 uses: geekyeggo/delete-artifact@v2