Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add attributes to client library#27

Add attributes to client library

Add attributes to client library #27

name:Build and Publish to GitHub Packages
on:
push:
branches:
-master
jobs:
build:
runs-on:ubuntu-latest
steps:
-name:Checkout code
uses:actions/checkout@v2
-name:Setup Java
uses:actions/setup-java@v2
with:
java-version:'17'
distribution:'adopt'
-name:Cache Gradle packages
uses:actions/cache@v2
with:
path:~/.gradle/caches
key:${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys:${{ runner.os }}-gradle
-name:Set up permissions client
run:chmod +x ./src/AndroidClient/gradlew
-name:Build client
working-directory:./src/AndroidClient
run:./gradlew client:build
-name:Build and Publish Client
env:
USERNAME_GITHUB:${{ github.actor }}
TOKEN_GITHUB:${{ secrets.GITHUB_TOKEN }}
VERSION_SUFFIX:${{ github.run_number }}
working-directory:./src/AndroidClient
run:./gradlew client:publishAllPublicationsToGitHubPackagesRepository -PversionSuffix=$VERSION_SUFFIX
-name:Build android
working-directory:./src/AndroidClient
run:./gradlew android:build
-name:Build and Publish Android
env:
USERNAME_GITHUB:${{ github.actor }}
TOKEN_GITHUB:${{ secrets.GITHUB_TOKEN }}
VERSION_SUFFIX:${{ github.run_number }}
working-directory:./src/AndroidClient
run:./gradlew android:publishAllPublicationsToGitHubPackagesRepository -PversionSuffix=$VERSION_SUFFIX
# env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}

[8]ページ先頭

©2009-2025 Movatter.jp