mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-21 22:56:01 +00:00
Updated CI config
This commit is contained in:
@@ -68,7 +68,7 @@ jobs:
|
|||||||
name: Draft a Release on GitHub Releases
|
name: Draft a Release on GitHub Releases
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: assemble-build-kit
|
needs: assemble-build-kit
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- name: Download buildkit-linux.zip
|
- name: Download buildkit-linux.zip
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
@@ -122,37 +122,4 @@ jobs:
|
|||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: buildkit-win.zip
|
asset_path: buildkit-win.zip
|
||||||
asset_name: buildkit-win.zip
|
asset_name: buildkit-win.zip
|
||||||
asset_content_type: application/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
|
|
||||||
Reference in New Issue
Block a user