Skip to content
name: Create application yml

Check failure on line 1 in .github/workflows/other-create-application-yml.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/other-create-application-yml.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: check-and-create-application-yml
on: workflow_call
jobs:
check-and-create-application-yml:
runs-on: ubuntu-latest
run: |
echo "hello"
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Check if application.yml exists
# id: check_file
# uses: andstor/file-existence-action@v3
# with:
# files: "./$APPLICATION_NAME/src/main/resources/application.yml"
# - name: Create application.yml if it does not exist
# if: steps.check_file.outputs.files_exists == 'false'
# run: |
# touch ./sms-APPLICATION_NAME/src/main/resources/application.yml
# echo "${{ secrets.BACKEND_ENV }}" > ./$APPLICATION_NAME/src/main/resources/application.yml
# shell: bash
# - name: Perform action if application.yml exists
# if: steps.check_file.outputs.files_exists == 'true'
# run: |
# echo "${{ secrets.BACKEND_ENV }}" > ./$APPLICATION_NAME/src/main/resources/application.yml