-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced run statement to run in bash
- Loading branch information
Talha Ali
committed
Nov 30, 2023
1 parent
b961bf8
commit a9d0729
Showing
2 changed files
with
17 additions
and
17 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
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 |
---|---|---|
|
@@ -4,23 +4,23 @@ | |
|
||
name: 'Setup secrets.properties' | ||
on: | ||
workflow_call: { } | ||
push: { } | ||
pull_request: { } | ||
workflow_call: {} | ||
push: {} | ||
pull_request: {} | ||
jobs: | ||
create_secrets_properties: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- id: 'step-0' | ||
name: 'Check out' | ||
uses: 'actions/checkout@v4' | ||
- id: 'step-1' | ||
name: 'Decode secret into file' | ||
uses: 'mobiledevops/[email protected]' | ||
with: | ||
base64-encoded-secret: '${{ secrets.SECRETS_PROPERTIES }}' | ||
filename: 'secrets.properties' | ||
is-executable: 'false' | ||
working-directory: './' | ||
- id: 'step-2' | ||
run: 'stat -f%z secrets.properties' | ||
- id: 'step-0' | ||
name: 'Check out' | ||
uses: 'actions/checkout@v4' | ||
- id: 'step-1' | ||
name: 'Decode secret into file' | ||
uses: 'mobiledevops/[email protected]' | ||
with: | ||
base64-encoded-secret: '${{ secrets.SECRETS_PROPERTIES }}' | ||
filename: 'secrets.properties' | ||
is-executable: 'false' | ||
working-directory: './' | ||
- id: 'step-2' | ||
run: 'stat -c%s secrets.properties' |