add gh actions to also release submodules

pull/58/head v2.2.2
Simon Let 6 years ago
parent b10a0296da
commit 8cbb15159f
  1. 25
      .github/workflows/release.yaml

@ -1,4 +1,4 @@
name: goreleaser name: release
on: on:
create: create:
@ -6,6 +6,29 @@ on:
- v* - v*
jobs: 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: goreleaser:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

Loading…
Cancel
Save