From 7b39ab5e082ae432681c418567927b3bfaf8ffc2 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Fri, 8 Apr 2022 22:34:09 +0200 Subject: [PATCH] ci: Automatically upload releases from CI --- .github/workflows/main.yaml | 11 +++++++---- README.md | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0169315..0a3878a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -49,8 +49,11 @@ jobs: make generate - name: Run 'make all' run: make all - - name: Upload executables - uses: actions/upload-artifact@v2 + - name: Upload Releases + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - name: Binaries - path: dist/* + files: | + dist/ggman + dist/ggman_mac + dist/ggman.exe diff --git a/README.md b/README.md index 5daa772..8fa5198 100644 --- a/README.md +++ b/README.md @@ -423,6 +423,7 @@ ggman comes with the following builtin aliases: - add `ggman env` command to print information about ggman - use native git when available in `ggman fetch`, `ggman pull` - make built-in git `fetch`, `pull` and `clone` progress on standard error +- automatically upload releases from GitHub actions - minor fixes ### 1.14.0 (Released [Mar 27 2022](https://github.com/tkw1536/ggman/releases/tag/v1.14.0))