From 7a4892262b24741035e280dfd9c2b727a0b29cac Mon Sep 17 00:00:00 2001 From: Fred Dushin Date: Wed, 31 Jan 2024 21:24:59 -0500 Subject: [PATCH] Add hello_world AVM to release (for testing Homebrew Formula) Signed-off-by: Fred Dushin --- .github/workflows/build-libraries.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-libraries.yaml b/.github/workflows/build-libraries.yaml index 6009523d1..95c5e77bd 100644 --- a/.github/workflows/build-libraries.yaml +++ b/.github/workflows/build-libraries.yaml @@ -84,6 +84,9 @@ jobs: ATOMVMLIB_FILE=atomvmlib-${{ github.ref_name }}.avm mv libs/atomvmlib.avm "libs/${ATOMVMLIB_FILE}" && sha256sum "libs/${ATOMVMLIB_FILE}" > "libs/${ATOMVMLIB_FILE}.sha256" + HELLO_WORLD_FILE=hello_world-${{ github.ref_name }}.avm + mv examples/erlang/hello_world.avm "examples/erlang/${HELLO_WORLD_FILE}" + sha256sum "examples/erlang/${HELLO_WORLD_FILE}" > "examples/erlang/${HELLO_WORLD_FILE}.sha256" - name: Release uses: softprops/action-gh-release@v1 @@ -94,3 +97,5 @@ jobs: files: | build/libs/atomvmlib-${{ github.ref_name }}.avm build/libs/atomvmlib-${{ github.ref_name }}.avm.sha256 + examples/erlang/hello_world-${{ github.ref_name }}.avm + examples/erlang/hello_world-${{ github.ref_name }}.avm.sha256