mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-03 21:30:15 +00:00
Updated workflow
This commit is contained in:
parent
fa6b95d768
commit
d2c1c9431b
2 changed files with 15 additions and 15 deletions
6
.github/workflows/release-beta.yaml
vendored
6
.github/workflows/release-beta.yaml
vendored
|
@ -26,11 +26,11 @@ jobs:
|
||||||
- name: Decode .env
|
- name: Decode .env
|
||||||
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
||||||
- name: Read pubspec.yaml
|
- name: Read pubspec.yaml
|
||||||
uses: jbutcher5/read-yaml@1.6
|
uses: christian-ci/action-yaml-github-output@v2
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
file_path: './pubspec.yaml'
|
||||||
key-path: '["version"]'
|
main_key: version
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
|
|
24
.github/workflows/release-stable.yaml
vendored
24
.github/workflows/release-stable.yaml
vendored
|
@ -23,11 +23,11 @@ jobs:
|
||||||
- name: Decode .env
|
- name: Decode .env
|
||||||
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
||||||
- name: Read pubspec.yaml
|
- name: Read pubspec.yaml
|
||||||
uses: jbutcher5/read-yaml@1.6
|
uses: christian-ci/action-yaml-github-output@v2
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
file_path: './pubspec.yaml'
|
||||||
key-path: '["version"]'
|
main_key: version
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
|
@ -80,11 +80,11 @@ jobs:
|
||||||
- name: Decode .env
|
- name: Decode .env
|
||||||
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
||||||
- name: Read pubspec.yaml
|
- name: Read pubspec.yaml
|
||||||
uses: jbutcher5/read-yaml@1.6
|
uses: christian-ci/action-yaml-github-output@v2
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
file_path: './pubspec.yaml'
|
||||||
key-path: '["version"]'
|
main_key: version
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
|
@ -140,11 +140,11 @@ jobs:
|
||||||
- name: Decode .env
|
- name: Decode .env
|
||||||
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
run: echo "${{ secrets.ENV }}" | base64 --decode > .env
|
||||||
- name: Read pubspec.yaml
|
- name: Read pubspec.yaml
|
||||||
uses: jbutcher5/read-yaml@1.6
|
uses: christian-ci/action-yaml-github-output@v2
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
file_path: './pubspec.yaml'
|
||||||
key-path: '["version"]'
|
main_key: version
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
|
@ -203,11 +203,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
[IO.File]::WriteAllBytes('.env', [Convert]::FromBase64String('${{ secrets.ENV }}'))
|
[IO.File]::WriteAllBytes('.env', [Convert]::FromBase64String('${{ secrets.ENV }}'))
|
||||||
- name: Read pubspec.yaml
|
- name: Read pubspec.yaml
|
||||||
uses: jbutcher5/read-yaml@1.6
|
uses: christian-ci/action-yaml-github-output@v2
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
file_path: './pubspec.yaml'
|
||||||
key-path: '["version"]'
|
main_key: version
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
shell: bash
|
shell: bash
|
||||||
id: save_version
|
id: save_version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue