Updated workflow

This commit is contained in:
Juan Gilsanz Polo 2023-11-23 03:14:02 +01:00
parent fa6b95d768
commit d2c1c9431b
2 changed files with 15 additions and 15 deletions

View file

@ -26,11 +26,11 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: christian-ci/action-yaml-github-output@v2
id: read_pubspec
with:
file: './pubspec.yaml'
key-path: '["version"]'
file_path: './pubspec.yaml'
main_key: version
- name: Save version on env variable
id: save_version
run: |

View file

@ -23,11 +23,11 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: christian-ci/action-yaml-github-output@v2
id: read_pubspec
with:
file: './pubspec.yaml'
key-path: '["version"]'
file_path: './pubspec.yaml'
main_key: version
- name: Save version on env variable
id: save_version
run: |
@ -80,11 +80,11 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: christian-ci/action-yaml-github-output@v2
id: read_pubspec
with:
file: './pubspec.yaml'
key-path: '["version"]'
file_path: './pubspec.yaml'
main_key: version
- name: Save version on env variable
id: save_version
run: |
@ -140,11 +140,11 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: christian-ci/action-yaml-github-output@v2
id: read_pubspec
with:
file: './pubspec.yaml'
key-path: '["version"]'
file_path: './pubspec.yaml'
main_key: version
- name: Save version on env variable
id: save_version
run: |
@ -203,11 +203,11 @@ jobs:
run: |
[IO.File]::WriteAllBytes('.env', [Convert]::FromBase64String('${{ secrets.ENV }}'))
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: christian-ci/action-yaml-github-output@v2
id: read_pubspec
with:
file: './pubspec.yaml'
key-path: '["version"]'
file_path: './pubspec.yaml'
main_key: version
- name: Save version on env variable
shell: bash
id: save_version