From 8cbb15159fb0ea5fb18c9ef335cd32b47dec4215 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 16 Dec 2019 01:18:59 +0100 Subject: [PATCH] add gh actions to also release submodules --- .github/workflows/release.yaml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9293213..09059f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: goreleaser +name: release on: create: @@ -6,6 +6,29 @@ on: - v* jobs: + extras: + runs-on: ubuntu-latest + steps: + - + name: Checkout submodules + uses: textbook/git-checkout-submodule-action@2.0.0 + - + name: Archive using tar + run: tar -czvf resh_extra_files.tar.gz * + - + name: GH Release + uses: softprops/action-gh-release@v0.1.0 + with: + # Note-worthy description of changes in release + #body: # optional, default is empty + # Path to load note-worthy description of changes in release from + #body-path: # optional, default is empty + # Gives the release a custom name + #name: # optional, default is Name of tag + # Creates a draft release + draft: true # optional, default is false + # Comma-delimited list of path globs for asset files to upload + files: resh_extra_files.tar.gz # optional, default is empty goreleaser: runs-on: ubuntu-latest steps: