mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-10 16:39:39 +00:00
Updated workflow
This commit is contained in:
parent
9ffc4b1181
commit
3da4fcf0c8
1 changed files with 4 additions and 7 deletions
11
.github/workflows/release-beta.yaml
vendored
11
.github/workflows/release-beta.yaml
vendored
|
@ -26,18 +26,15 @@ jobs:
|
|||
with:
|
||||
file: './pubspec.yaml'
|
||||
key-path: '["version"]'
|
||||
- uses: winterjung/split@v2
|
||||
id: split
|
||||
- name: Split version string
|
||||
uses: winterjung/split@v2
|
||||
id: splitted_version
|
||||
with:
|
||||
msg: "${{ steps.read_pubspec.outputs.data }}"
|
||||
separator: "+"
|
||||
- name: Save version on env variable
|
||||
run: |
|
||||
echo "${{ steps.split.outputs._0 }}__${{ steps.split.outputs._1 }}"
|
||||
name=${{ steps.split.outputs._0 }}
|
||||
number=${{ steps.split.outputs._1 }}
|
||||
echo "VERSION_NAME=$(echo ${name}_\(${number}\))"
|
||||
echo "VERSION_NAME=$(echo ${name}_\(${number}\))" >> $GITHUB_ENV
|
||||
echo "VERSION_NAME=$(echo ${{ steps.splitted_version.outputs._0 }}" >> $GITHUB_ENV
|
||||
- name: Update KeyStore password in gradle properties
|
||||
run: sed -i 's/#{KEYSTORE_PASS}#/${{ secrets.KEYSTORE_PASS }}/g' android/key.properties
|
||||
- name: Update KeyStore key password in gradle properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue