Compare commits

...

9 Commits

View File

@ -14,16 +14,51 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
CHANGES.md
sparse-checkout-cone-mode: false
- name: sleep 5 minutes
run: |
echo "sleeping 10 minutes to wait for artifacts"
sleep 1m
echo "sleeping 9 minutes to wait for artifacts"
sleep 1m
echo "sleeping 8 minutes to wait for artifacts"
sleep 1m
echo "sleeping 7 minutes to wait for artifacts"
sleep 1m
echo "sleeping 6 minutes to wait for artifacts"
sleep 1m
echo "sleeping 5 minutes to wait for artifacts"
sleep 1m
echo "sleeping 4 minutes to wait for artifacts"
sleep 1m
echo "sleeping 3 minutes to wait for artifacts"
sleep 1m
echo "sleeping 2 minutes to wait for artifacts"
sleep 1m
echo "sleeping 1 minutes to wait for artifacts"
sleep 1m
- name: Download artifacts - name: Download artifacts
id: download-artifact id: download-artifact
uses: dawidd6/action-download-artifact@v3 uses: dawidd6/action-download-artifact@v3
with: with:
skip_unpack: true
workflow: ant.yml workflow: ant.yml
if_no_artifact_found: fail if_no_artifact_found: fail
- name: List artifacts - name: List artifacts
run: ls -lah run: |
echo "" | tee -a CHANGES.md;
echo "## Checksums" | tee -a CHANGES.md;
echo "" | tee -a CHANGES.md;
echo "```" | tee -a CHANGES.md;
sha256sum *.* | tee -a CHANGES.md;
echo "```" | tee -a CHANGES.md;
echo "" | tee -a CHANGES.md;
- name: Upload artifacts - name: Upload artifacts
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:
artifacts: "*" artifacts: "*.*"
bodyFile: "CHANGES.md" bodyFile: "CHANGES.md"