mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-28 20:09:51 +00:00
Merge branch 'beta'
This commit is contained in:
commit
6df7d89867
1 changed files with 9 additions and 13 deletions
22
.github/workflows/release-stable.yaml
vendored
22
.github/workflows/release-stable.yaml
vendored
|
@ -80,15 +80,14 @@ 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: adore-me/read-yaml@v1.0.0
|
uses: pietrobolcato/action-read-yaml@1.0.0
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
config: ${{ github.workspace }}/pubspec.yaml
|
||||||
key-path: '["version"]'
|
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
version=${{ steps.read_pubspec.outputs.data }}
|
version=${{ steps.read_pubspec.outputs['version'] }}
|
||||||
IFS='+'
|
IFS='+'
|
||||||
read -r -a split <<< "$version"
|
read -r -a split <<< "$version"
|
||||||
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
||||||
|
@ -140,15 +139,14 @@ 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: adore-me/read-yaml@v1.0.0
|
uses: pietrobolcato/action-read-yaml@1.0.0
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
config: ${{ github.workspace }}/pubspec.yaml
|
||||||
key-path: '["version"]'
|
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
version=${{ steps.read_pubspec.outputs.data }}
|
version=${{ steps.read_pubspec.outputs['version'] }}
|
||||||
IFS='+'
|
IFS='+'
|
||||||
read -r -a split <<< "$version"
|
read -r -a split <<< "$version"
|
||||||
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
||||||
|
@ -203,16 +201,14 @@ 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: adore-me/read-yaml@v1.0.0
|
uses: pietrobolcato/action-read-yaml@1.0.0
|
||||||
id: read_pubspec
|
id: read_pubspec
|
||||||
with:
|
with:
|
||||||
file: './pubspec.yaml'
|
config: ${{ github.workspace }}/pubspec.yaml
|
||||||
key-path: '["version"]'
|
|
||||||
- name: Save version on env variable
|
- name: Save version on env variable
|
||||||
shell: bash
|
|
||||||
id: save_version
|
id: save_version
|
||||||
run: |
|
run: |
|
||||||
version=${{ steps.read_pubspec.outputs.data }}
|
version=${{ steps.read_pubspec.outputs['version'] }}
|
||||||
IFS='+'
|
IFS='+'
|
||||||
read -r -a split <<< "$version"
|
read -r -a split <<< "$version"
|
||||||
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
echo "VERSION_NAME=$(echo ${split[0]})" >> $GITHUB_ENV
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue