Updated workflows

This commit is contained in:
Juan Gilsanz Polo 2024-09-11 21:14:58 +02:00
parent 3055c3582b
commit 7579e2d580
3 changed files with 11 additions and 7 deletions

View file

@ -24,10 +24,10 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: adore-me/read-yaml@v1.0.0
uses: JGeek00/read-yaml-files@2.0.0
id: read_pubspec
with:
file: './pubspec.yaml'
file: './pubspec.yaml' # File to read from
key-path: '["version"]'
- name: Save version on env variable
id: save_version

View file

@ -22,7 +22,7 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: JGeek00/read-yaml-files@2.0.0
id: read_pubspec
with:
file: './pubspec.yaml' # File to read from
@ -79,7 +79,7 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: JGeek00/read-yaml-files@2.0.0
id: read_pubspec
with:
file: './pubspec.yaml'
@ -139,7 +139,7 @@ jobs:
- name: Decode .env
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: JGeek00/read-yaml-files@2.0.0
id: read_pubspec
with:
file: './pubspec.yaml'
@ -202,7 +202,7 @@ jobs:
run: |
[IO.File]::WriteAllBytes('.env', [Convert]::FromBase64String('${{ secrets.ENV }}'))
- name: Read pubspec.yaml
uses: jbutcher5/read-yaml@1.6
uses: JGeek00/read-yaml-files@2.0.0
id: read_pubspec
with:
file: './pubspec.yaml'

View file

@ -12,5 +12,9 @@
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.formatOnType": false
}
},
"cSpell.ignorePaths": [
"/pubspec.yaml",
"/.github/workflows"
]
}