forked from r0adkll/sign-android-release
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d42eca4
commit 89f7c6f
Showing
1 changed file
with
15 additions
and
5 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 |
---|---|---|
|
@@ -15,17 +15,27 @@ jobs: | |
name: Test action | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
name: Checkout code | ||
|
||
- name: Run build | ||
run: npm run build | ||
|
||
- name: Ensure no pending Git changes | ||
run: | | ||
if [[ -n $(git status --porcelain) ]]; then | ||
echo "There are pending Git changes after running the build. Did you forget to commit the .js files?" | ||
exit 1 | ||
fi | ||
- name: Run tests | ||
run: npm run test | ||
|
||
- uses: pCYSl5EDgo/[email protected] | ||
name: Cat for GitHub Actions | ||
- name: Load test key | ||
id: get_key | ||
with: | ||
path: __tests__/test_key_b64.txt | ||
run: | | ||
value=$(cat __tests__/test_key_b64.txt) | ||
echo "text=$value" >> $GITHUB_OUTPUT | ||
- uses: ./ | ||
name: zipalign and Sign APK | ||
|