mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-29 21:55:58 +00:00
workflows firo
This commit is contained in:
parent
32c53b8342
commit
7c256f1934
1 changed files with 11 additions and 0 deletions
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
|
@ -41,11 +41,20 @@ jobs:
|
|||
Write-Output "::set-output name=SECRET_FILE_DOGECOIN::$secretFileDogecoin";
|
||||
Write-Output "::set-output name=SECRET_FILE_DOGECOIN_HASH::$($secretFileDogecoinHash.Hash)";
|
||||
Write-Output "Secret file $secretFileDogecoin has hash $($secretFileDogecoinHash.Hash)";
|
||||
|
||||
$secretFileFiro = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/firo/firo_wallet_test_parameters.dart";
|
||||
$encodedBytes = [System.Convert]::FromBase64String($env:FIRO_TEST);
|
||||
Set-Content $secretFileFiro -Value $encodedBytes -AsByteStream;
|
||||
$secretFileFiroHash = Get-FileHash $secretFileFiro;
|
||||
Write-Output "::set-output name=SECRET_FILE_FIRO::$secretFileFiro";
|
||||
Write-Output "::set-output name=SECRET_FILE_FIRO_HASH::$($secretFileFiroHash.Hash)";
|
||||
Write-Output "Secret file $secretFileFiro has hash $($secretFileFiroHash.Hash)";
|
||||
shell: pwsh
|
||||
env:
|
||||
CHANGE_NOW: ${{ secrets.CHANGE_NOW }}
|
||||
BITCOIN_TEST: ${{ secrets.BITCOIN_TEST }}
|
||||
DOGECOIN_TEST: ${{ secrets.DOGECOIN_TEST }}
|
||||
FIRO_TEST: ${{ secrets.FIRO_TEST }}
|
||||
# - name: Analyze
|
||||
# run: flutter analyze
|
||||
- name: Test
|
||||
|
@ -55,9 +64,11 @@ jobs:
|
|||
Remove-Item -Path $env:CHANGE_NOW;
|
||||
Remove-Item -Path $env:BITCOIN_TEST;
|
||||
Remove-Item -Path $env:DOGECOIN_TEST;
|
||||
Remove-Item -Path $env:FIRO_TEST;
|
||||
shell: pwsh
|
||||
if: always()
|
||||
env:
|
||||
CHANGE_NOW: ${{ steps.secret-file1.outputs.SECRET_FILE_EXCHANGE }}
|
||||
BITCOIN_TEST: ${{ steps.secret-file1.outputs.SECRET_FILE_BITCOIN }}
|
||||
DOGECOIN_TEST: ${{ steps.secret-file1.outputs.SECRET_FILE_DOGECOIN }}
|
||||
FIRO_TEST: ${{ steps.secret-file1.outputs.SECRET_FILE_FIRO }}
|
||||
|
|
Loading…
Reference in a new issue