Исправление ошибки компиляции
This commit is contained in:
@@ -40,12 +40,12 @@ jobs:
|
|||||||
if: matrix.platform == 'ubuntu-latest'
|
if: matrix.platform == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
touch src-tauri/src/config.rs
|
touch src-tauri/src/config.rs
|
||||||
echo "pub(crate) static ENC_KEY: &str = '${{secrets.HASH_KEY}}';" > src-tauri/src/config.rs
|
echo 'pub(crate) static ENC_KEY: &str = "${{secrets.HASH_KEY}}";' > src-tauri/src/config.rs
|
||||||
ls -l src-tauri/src
|
ls -l src-tauri/src
|
||||||
- name: Check files (Windows)
|
- name: Check files (Windows)
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
New-Item -Path src-tauri/src -name "config.rs" -Value "pub(crate) static ENC_KEY: &str = '${{secrets.HASH_KEY}}';"
|
New-Item -Path src-tauri/src -name "config.rs" -Value 'pub(crate) static ENC_KEY: &str = "${{secrets.HASH_KEY}}";'
|
||||||
dir src-tauri/src
|
dir src-tauri/src
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
|
|||||||
Reference in New Issue
Block a user