Action test on Windows #312
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
name: Action test on Windows | |
on: | |
schedule: | |
- cron: "0 6 * * MON-FRI" # Runs at 02:00 UTC | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Show current file | |
run: cat "${{github.workspace}}\test.yaml" | |
shell: bash | |
- name: Replace one value | |
uses: GuillaumeFalourd/replace-values-action@main | |
with: | |
file_path: ${{github.workspace}}/test.yaml | |
parameters: REGISTRY_TO_UPDATE >> new_registry_value | |
- name: Replace multiple values | |
uses: GuillaumeFalourd/replace-values-action@main | |
with: | |
file_path: ${{github.workspace}}/test.yaml | |
parameters: | | |
ACCOUNT_TO_UPDATE>>new_account_value | |
URL_TO_UPDATE >> new_url_value | |
- name: Show updated file | |
run: cat "${{github.workspace}}\test.yaml" | |
shell: bash |