Skip to content

Commit

Permalink
replaced run statement to run in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Talha Ali committed Nov 30, 2023
1 parent b961bf8 commit a9d0729
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ workflow(
name = "Decode secret into file",
action = SecretToFileAction()
)
run(command = "stat -f%z secrets.properties")
run(command = "stat -c%s secrets.properties")
}
}.writeToFile(addConsistencyCheck = false)

Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/setup_secrets_properties_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit a9d0729

Please sign in to comment.