3 ms·
Only thing I don't like about GitHub Actions so far is the YAML structure. e.g. name: master-pull-request on: pull_request: branches:
by amdelamar 7y ago
Only thing I don't like about GitHub Actions so far is the YAML structure. e.g.
name: master-pull-request
on:
pull_request:
branches:
- master
jobs:
test:
name: run tests
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Run gradle test
run: |
./gradlew test
I much prefer Drone CI's YAML:
kind: pipeline
name: default
steps:
- name: run tests
image: openjdk:8-jdk-slim # Docker images!
commands:
- ./gradlew test
- edaemon 7y agoGitHub's format is like Drone's "multiple pipelines" feature in a single document instead of separate ones. Drone uses multiple documents that each define a different set of steps while GitHub does that in a single document with separate jobs. It's just an issue of preference, I suppose, but I prefer GitHub's way of doing things. I find it easier to read and understand.