-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from YkSix/bump_sdk_version_in_sample_app
Bump LINE SDK version in sample app to v5.10.1
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ jobs: | |
- name: Decode Token To File | ||
uses: timheuer/[email protected] | ||
with: | ||
fileName: 'verification.properties' | ||
fileDir: './line-sdk/src/main/resources/META-INF/com/linecorp/linesdk/linesdk/' | ||
encodedString: ${{ secrets.SDK_CONSOLE_TOKEN }} | ||
fileName: 'verification.properties' | ||
fileDir: './line-sdk/src/main/resources/META-INF/com/linecorp/linesdk/linesdk/' | ||
encodedString: ${{ secrets.SDK_CONSOLE_TOKEN }} | ||
- name: Deploy artifacts | ||
env: | ||
ORG_GRADLE_PROJECT_repositoryUsername: ${{ secrets.OSSRH_USERNAME }} | ||
|
@@ -51,12 +51,17 @@ jobs: | |
|
||
- name: Retrieve Version | ||
run: | | ||
echo "version_name=$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_OUTPUT | ||
version_output=$(${{github.workspace}}/gradlew -q printVersionName) | ||
# Use awk to extract the last line from the output | ||
# 'END{print line}' prints the last stored line after processing all input lines | ||
VERSION_NAME=$(echo "$version_output" | awk '/./{line=$0} END{print line}') | ||
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_OUTPUT | ||
id: sdk_version | ||
|
||
- name: Get Version | ||
run: | | ||
echo "version_name=${{steps.sdk_version.outputs.VERSION_NAME}}" | ||
echo "VERSION_NAME=${{steps.sdk_version.outputs.VERSION_NAME}}" | ||
- name: Create Tag | ||
id: create_tag | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters