Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Github Actions for deployment #5312

Merged
merged 57 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
95ce6be
Initial try
tobiasdiez Sep 12, 2019
6ce5b35
Update gradle.yml
tobiasdiez Sep 12, 2019
75bc034
Post to build.jabref.org
tobiasdiez Sep 12, 2019
92c9700
Update gradle.yml
tobiasdiez Sep 12, 2019
70d6325
Delete upload-to-builds.jabref.org.sh
tobiasdiez Sep 12, 2019
cc16838
Delete config.yml
tobiasdiez Sep 12, 2019
1723c58
Update gradle.yml
tobiasdiez Sep 12, 2019
ff8e3fb
Set Java to 13.0.3
koppor Sep 12, 2019
1f93420
Try to really set Java to 13
koppor Sep 12, 2019
d2eb9a7
Does JDK 1.12 work?
koppor Sep 12, 2019
5cda839
Uncomment installer related stuff
tobiasdiez Sep 12, 2019
ff43c9d
Use jpackage
tobiasdiez Sep 13, 2019
248c1e2
Fix ? build
tobiasdiez Sep 13, 2019
2545032
We are using python 3 apparently
tobiasdiez Sep 13, 2019
66be71b
Or not...
tobiasdiez Sep 13, 2019
09010ab
Ah, we are on both at the same time...
tobiasdiez Sep 13, 2019
254cd96
Fix path to jpackage
tobiasdiez Sep 13, 2019
1a29693
Cleanup
tobiasdiez Sep 13, 2019
79a02c9
Dont stop trying...
tobiasdiez Sep 13, 2019
c2712e0
Debug...
tobiasdiez Sep 13, 2019
e96b14f
try to fix path to jpackage
tobiasdiez Sep 13, 2019
be093c4
Add baces
tobiasdiez Sep 13, 2019
12c1e34
Set environment variable properly
tobiasdiez Sep 13, 2019
2cf9fcf
Well...
tobiasdiez Sep 13, 2019
8a2b035
Dudadud...
tobiasdiez Sep 13, 2019
b7d8220
This is fun...
tobiasdiez Sep 13, 2019
f666638
Set enviornment variable directly
tobiasdiez Sep 13, 2019
cf50318
This is going to be somewhat frusting...
tobiasdiez Sep 13, 2019
8dac085
I feel like I'm learning a lot about shell syntax today
tobiasdiez Sep 13, 2019
fef9577
Spaces are bad?
tobiasdiez Sep 13, 2019
d72ec83
C'mon...
tobiasdiez Sep 13, 2019
6b15972
Fix paths?
tobiasdiez Sep 13, 2019
4f9b32b
This shoud work now...
tobiasdiez Sep 13, 2019
e128dd1
Zips are not tars, thats suprising
tobiasdiez Sep 13, 2019
b2eabda
Try with url
tobiasdiez Sep 13, 2019
bfbc382
Make pretty
tobiasdiez Sep 13, 2019
0efb873
Remove debugging output
tobiasdiez Sep 13, 2019
ee2043e
Rename gradle.yml to depoyment.yml
tobiasdiez Sep 13, 2019
9df74a5
Rename depoyment.yml to deployment.yml
tobiasdiez Sep 13, 2019
0856448
Update build.gradle
tobiasdiez Sep 13, 2019
4d2635d
Fix build
tobiasdiez Sep 13, 2019
92e9fb4
Does uploading works now?
tobiasdiez Sep 13, 2019
99562d8
Improve installer for windows
tobiasdiez Sep 14, 2019
80381b6
Remove install4j and shadowjar from gradle
tobiasdiez Sep 14, 2019
a316fd9
Change hostname from build-upload to build
koppor Sep 19, 2019
b800c8a
Does scp work?
koppor Sep 22, 2019
317f0c6
Deploy to branch folder
tobiasdiez Sep 23, 2019
7b4a54f
Archive portable version before upload
tobiasdiez Sep 23, 2019
00255c8
Put in distribution folder
tobiasdiez Sep 23, 2019
ae13326
Beautify on linux and mac
tobiasdiez Sep 23, 2019
b7ab437
Update build.gradle
tobiasdiez Sep 23, 2019
af34309
Update build.gradle
tobiasdiez Sep 23, 2019
701196a
Merge branch 'master' into githubActions
koppor Sep 24, 2019
8ded659
Fix folder structure in archive
tobiasdiez Sep 25, 2019
31382b6
Try to fix dev version string in about dialog
tobiasdiez Sep 26, 2019
621df85
Remove oss.soatype.org since this is constantly failing lately
tobiasdiez Sep 26, 2019
b7412c9
Add dev switch
tobiasdiez Sep 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions .circleci/config.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deployment

on: [push]

jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
tobiasdiez marked this conversation as resolved.
Show resolved Hide resolved
displayName: linux
- os: windows-latest
displayName: windows
- os: macOS-latest
displayName: macOS

runs-on: ${{ matrix.os }}
name: Deploy on ${{ matrix.displayName }}

steps:
- name: Checkout source
uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11.0.4
- name: Build with Gradle
run: ./gradlew jlinkZip
- name: Save artifact
uses: actions/upload-artifact@master
with:
name: JabRef-${{ matrix.displayName }}
path: build/image
- name: Upload to build.jabref.org
uses: garygrossgarten/github-action-scp@release
with:
local: build/image.zip
remote: JabRef-${{ matrix.displayName }}.zip
host: build-upload.jabref.org
username: builds_jabref_org
privateKey: ${{ secrets.buildJabRefPrivateKey }}
port: 9922
}

51 changes: 0 additions & 51 deletions scripts/upload-to-builds.jabref.org.sh

This file was deleted.