Updating GHES workflows

This commit is contained in:
GitHub Actions
2020-07-14 18:11:40 +00:00
parent a793bf3bd4
commit def70d7268
20 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -2,9 +2,9 @@ name: Android CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+3 -3
View File
@@ -3,12 +3,12 @@
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
# events but only for the $default-branch branch
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
+2 -2
View File
@@ -2,9 +2,9 @@ name: C/C++ CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Clojure CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Crystal CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Dart CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Docker Image CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+4 -4
View File
@@ -2,9 +2,9 @@ name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
# Publish `$default-branch` as Docker `latest` image.
branches:
- master
- $default-branch
# Publish `v1.2.3` tags as releases.
tags:
@@ -56,7 +56,7 @@ jobs:
- name: Push image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
@@ -67,7 +67,7 @@ jobs:
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
[ "$VERSION" == "$default-branch" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
+2 -2
View File
@@ -2,9 +2,9 @@ name: .NET Core
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Erlang CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Go
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI with Gradle
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Jekyll site CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+3 -3
View File
@@ -2,15 +2,15 @@ name: Laravel
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy .env
+2 -2
View File
@@ -5,9 +5,9 @@ name: Java CI with Maven
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -5,9 +5,9 @@ name: Node.js CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Rust
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
env:
CARGO_TERM_COLOR: always
+2 -2
View File
@@ -2,9 +2,9 @@ name: Scala CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
+2 -2
View File
@@ -2,9 +2,9 @@ name: Swift
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build: