Skip to content

Commit 8a130de

Browse files
committed
Refactor
1 parent ab24b34 commit 8a130de

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

.github/workflows/fc-versions.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
workflow_dispatch:
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
9+
cancel-in-progress: true
10+
711
permissions:
812
id-token: write
913
contents: write
@@ -13,7 +17,6 @@ jobs:
1317
build:
1418
uses: ./.github/workflows/build.yml
1519

16-
# Collect artifacts and publish
1720
publish:
1821
name: Collect and upload builds
1922
needs: build
@@ -89,22 +92,3 @@ jobs:
8992
--notes "Firecracker build: $version_name" \
9093
"$binary_path#${version_name}"
9194
done
92-
93-
- name: Generate build summary
94-
run: |
95-
echo "## 🔥 Firecracker Builds" >> $GITHUB_STEP_SUMMARY
96-
echo "" >> $GITHUB_STEP_SUMMARY
97-
echo "| Version | Download |" >> $GITHUB_STEP_SUMMARY
98-
echo "|---------|----------|" >> $GITHUB_STEP_SUMMARY
99-
100-
repo="${{ github.repository }}"
101-
run_id="${{ github.run_id }}"
102-
artifact_url="https://github.com/${repo}/actions/runs/${run_id}"
103-
104-
for dir in ./builds/*/; do
105-
version_name=$(basename "$dir")
106-
echo "| \`${version_name}\` | [firecracker](${artifact_url}) |" >> $GITHUB_STEP_SUMMARY
107-
done
108-
109-
echo "" >> $GITHUB_STEP_SUMMARY
110-
echo "_Built from commit: \`${{ github.sha }}\`_" >> $GITHUB_STEP_SUMMARY

firecracker_versions.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
v1.10.1
2-
v1.12.1
3-
v1.10.1_99e280c5
4-
v1.12.1_0bb99c51
2+
v1.12.1

0 commit comments

Comments
 (0)