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:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -143,7 +145,7 @@ jobs:
|
||||||
server-username: MAVEN_USERNAME
|
server-username: MAVEN_USERNAME
|
||||||
server-password: MAVEN_PASSWORD
|
server-password: MAVEN_PASSWORD
|
||||||
- name: Setup Java (Release)
|
- name: Setup Java (Release)
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref != 'refs/heads/develop'
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -28,7 +31,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
- name: Setup Java (Snapshot)
|
- name: Setup Java (Snapshot)
|
||||||
if: github.ref != 'refs/heads/master'
|
if: github.ref == 'refs/heads/develop'
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
@ -37,7 +40,7 @@ jobs:
|
||||||
server-username: MAVEN_USERNAME
|
server-username: MAVEN_USERNAME
|
||||||
server-password: MAVEN_PASSWORD
|
server-password: MAVEN_PASSWORD
|
||||||
- name: Setup Java (Release)
|
- name: Setup Java (Release)
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref != 'refs/heads/develop'
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
Loading…
Reference in New Issue
Block a user