-
Notifications
You must be signed in to change notification settings - Fork 20
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
e47486b
commit d22b593
Showing
4 changed files
with
58 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Create Release Notes | ||
|
||
on: | ||
# Enables this workflow to be called from other workflows | ||
workflow_call: | ||
|
||
jobs: | ||
create-release-notes: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Create Google Service JSON | ||
run: | | ||
echo "${{ secrets.GOOGLE_SERVICE_JSON }}" > \ | ||
${{ github.workspace }}/app/google-services.json | base64 | ||
- name: Check Google Service JSON file is created | ||
run: | | ||
if [ -f ./app/google-services.json ]; then | ||
echo "google-services.json exists." | ||
else | ||
echo "google-services.json does not exist." >&2 | ||
exit 1 | ||
fi | ||
continue-on-error: false |
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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Run Tests | ||
|
||
on: | ||
|
||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main", "improve-actions" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
create-service-json: | ||
uses: ./.github/workflows/create-service-json.yml | ||
secrets: inherit | ||
|
||
run-tests: | ||
uses: ./.github/workflows/run-tests.yml | ||
needs: create-service-json | ||
secrets: inherit |