From 169014ef62cbad4f0fa10e7d166d4ac91b8bd581 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Tue, 21 Apr 2020 13:40:12 +0200 Subject: [PATCH] Updated CI config --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6058d1dff..aaef0419a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,14 +74,17 @@ jobs: uses: actions/download-artifact@v1 with: name: buildkit-linux.zip + path: . - name: Download buildkit-mac.zip uses: actions/download-artifact@v1 with: name: buildkit-mac.zip + path: . - name: Download buildkit-win.zip uses: actions/download-artifact@v1 with: name: buildkit-win.zip + path: . - id: create_release uses: actions/create-release@v1 env: @@ -120,3 +123,36 @@ jobs: asset_path: buildkit-win.zip asset_name: buildkit-win.zip asset_content_type: application/zip + + bintray-release: + name: Upload Release Artifacts to Bintray + runs-on: ubuntu-latest + needs: assemble-build-kit + # if... + steps: + - name: Download buildkit-linux.zip + uses: actions/download-artifact@v1 + with: + name: buildkit-linux.zip + path: . + - name: Download buildkit-mac.zip + uses: actions/download-artifact@v1 + with: + name: buildkit-mac.zip + path: . + - name: Download buildkit-win.zip + uses: actions/download-artifact@v1 + with: + name: buildkit-win.zip + path: . + - name: Upload buildkit-win.zip + env: + BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} + run: | + curl -T buildkit-win.zip + -u cryptobot:${BINTRAY_API_KEY} + -H "X-Bintray-Package:buildkit" + -H "X-Bintray-Version:snapshot" + -H "X-Bintray-Override:1" + -H "X-Bintray-Publish:1" + https://api.bintray.com/content/cryptomator/cryptomator/snapshot/buildkit-win.zip \ No newline at end of file