From 74988908176a8826bce74ed162693c70b763a3d2 Mon Sep 17 00:00:00 2001 From: Geir Ola Tvinnereim Date: Fri, 22 May 2026 22:57:24 +0200 Subject: [PATCH] chore: add release workflow --- .github/workflows/release.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8127981..d79c47b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: - 'v*' jobs: - micro-build-release: + micro-build: runs-on: ubuntu-latest steps: @@ -41,3 +41,19 @@ jobs: with: name: MICROBIT-${{ github.ref_name }} path: microbit-v2-sdk/MICROBIT.hex + + release: + needs: micro-build + runs-on: ubuntu-latest + + steps: + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: MICROBIT-${{ github.ref_name }} + path: artifacts + + - name: Publish release asset + uses: softprops/action-gh-release@v2 + with: + files: artifacts/MICROBIT-${{ github.ref_name }} \ No newline at end of file