Fix github actions
This commit is contained in:
parent
7a17f8e46b
commit
65276aa845
6
.github/workflows/platform_natives.yaml
vendored
6
.github/workflows/platform_natives.yaml
vendored
@ -2,7 +2,9 @@ name: Docker multi-arch build
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -143,7 +145,7 @@ jobs:
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_PASSWORD
|
||||
- name: Setup Java (Release)
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref != 'refs/heads/develop'
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
|
7
.github/workflows/tdapi_file.yaml
vendored
7
.github/workflows/tdapi_file.yaml
vendored
@ -2,6 +2,9 @@ name: Generate TdApi.java
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: Setup Java (Snapshot)
|
||||
if: github.ref != 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
@ -37,7 +40,7 @@ jobs:
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_PASSWORD
|
||||
- name: Setup Java (Release)
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref != 'refs/heads/develop'
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
|
Loading…
Reference in New Issue
Block a user