mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-27 09:16:07 +00:00
Changed commands to bash
This commit is contained in:
parent
a94fdc7407
commit
5d2631bd08
1 changed files with 4 additions and 6 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
@ -139,16 +139,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Decode .env
|
||||
shell: pwsh
|
||||
run: |
|
||||
[IO.File]::WriteAllBytes('.env', [Convert]::FromBase64String('${{ secrets.ENV }}'))
|
||||
shell: bash
|
||||
run: echo '${{ secrets.ENV }}'' | base64 --decode > .env
|
||||
- name: Update version in pubspec.yaml
|
||||
shell: bash
|
||||
run: sed -i 's/99.99.99+99/${{ github.event.inputs.version }}+${{ github.event.inputs.number }}/g' pubspec.yaml
|
||||
- name: Update version in innosetup config file
|
||||
shell: pwsh
|
||||
run: |
|
||||
(Get-Content windows/innosetup_installer_builder.iss) -replace '<REPLACE_VERSION_ACTIONS>', '${{ github.event.inputs.version }}' | Out-File -encoding ASCII windows/innosetup_installer_builder.iss
|
||||
shell: bash
|
||||
run: sed -i 's/<REPLACE_VERSION_ACTIONS>/${{ github.event.inputs.version }}/g' windows/innosetup_installer_builder.iss
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
|
|
Loading…
Add table
Reference in a new issue