update workflows

This commit is contained in:
InsanusMokrassar 2021-07-28 14:41:27 +06:00
parent 0f973adb9f
commit 0ecb34709b
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,3 @@
name: Publish package to GitHub Packages name: Publish package to GitHub Packages
on: [push] on: [push]
jobs: jobs:
@ -16,7 +15,7 @@ jobs:
- name: prebuild - name: prebuild
run: ./gradlew clean build run: ./gradlew clean build
- name: Publish package - name: Publish package
run: ./gradlew --no-parallel publishAllPublicationsToGithubPackagesRepository -x signJsPublication -x signJvmPublication -x signKotlinMultiplatformPublication -x signMetadataPublication -x signAndroidReleasePublication run: ./gradlew --no-parallel publishAllPublicationsToGithubPackagesRepository -x signJsPublication -x signJvmPublication -x signKotlinMultiplatformPublication -x signAndroidReleasePublication
env: env:
GITHUBPACKAGES_USER: ${{ github.actor }} GITHUBPACKAGES_USER: ${{ github.actor }}
GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

12
.github/workflows/regular_build.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Regular build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: build
run: ./gradlew clean build