From 45d2aac58d62f9bb385722d2facdca45512585c7 Mon Sep 17 00:00:00 2001 From: Firas al-Khalil Date: Fri, 8 Dec 2023 17:00:48 +0100 Subject: [PATCH] ci: add the ref file in the releases --- .github/workflows/cd.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a95cb14..1054ac6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -96,3 +96,18 @@ jobs: ./lib/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + release-fixed-assets: + needs: [build-ubuntu, build-macos] + runs-on: ubuntu-latest + steps: + - name: Release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ steps.vars.outputs.sha_short }} + release_name: Release ${{ github.ref }}-${{ steps.vars.outputs.sha_short }} + draft: true + files: | + ./ref + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}