From 58a0a892eb22a6273259c3bb2f98d068e4ecd84a Mon Sep 17 00:00:00 2001 From: Artem Dinaburg Date: Wed, 6 May 2020 02:05:33 -0400 Subject: [PATCH] Attempting to push releases via GH Actions --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7f23664..bb6d6132 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,3 +63,22 @@ jobs: with: name: libraries-catalina-macos.tar.xz path: libraries-catalina-macos.tar.xz + CreateRelease: + needs: [macOS, Docker_Linux] + runs-on: ubuntu-latest + steps: + - name: Download all artifacts + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: actions/download-artifact@v2 + with: + path: releases + - name: Verify Artifact Downloads + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: ls -R + - name: Publish Release + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: softprops/action-gh-release@v1 + with: + files: releases/*/*.xz + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}