From 62f811d276ae8bcea52c599aa7e6884044e6a7c4 Mon Sep 17 00:00:00 2001 From: Isaac Torres Date: Tue, 25 Apr 2023 18:19:54 -0600 Subject: [PATCH] add release --- .github/workflows/musl.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/musl.yaml b/.github/workflows/musl.yaml index b3dfc06..6e8d325 100644 --- a/.github/workflows/musl.yaml +++ b/.github/workflows/musl.yaml @@ -2,16 +2,32 @@ name: musl on: pull_request: + paths: + - "musl/**" + - .github/workflows/musl.yaml push: branches: - "master" + tags: + - "*" jobs: arm-linux-musleabihf: runs-on: ubuntu-22.04 steps: - - name: checkout source + - name: Checkout source uses: actions/checkout@v2 - - name: build arm-linux-musleabihf + - name: Build arm-linux-musleabihf run: make arm-linux-musleabihf + + - name: Upload release + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: "arm-linux-musleabihf.tar.gz" + tag: ${{ github.ref }} + overwrite: true + file_glob: true +