diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 5d0bf6e..3a857f0 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -30,7 +30,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Create .cargo/config.toml file - run: printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml + run: mkdir .cargo && printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml - name: Create .env file env: diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index 0f28779..713755a 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -43,7 +43,7 @@ jobs: run: cargo install dioxus-cli - name: Create .cargo/config.toml file - run: printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml + run: mkdir .cargo && printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml - name: Create .env file env: diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 62527bb..9c232e8 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -26,7 +26,7 @@ jobs: uses: superfly/flyctl-actions/setup-flyctl@master - name: Create .cargo/config.toml file - run: printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml + run: mkdir .cargo && printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml - name: Create .env file env: diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index 755afe6..d901ced 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -46,7 +46,7 @@ jobs: run: cargo install dioxus-cli - name: Create .cargo/config.toml file - run: printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml + run: mkdir .cargo && printf "[profile.release]\nopt-level = "z"\ndebug = false\nlto = true\ncodegen-units = 1\npanic = "abort"\nstrip = true\nincremental = false\n" > .cargo/config.toml - name: Create .env file env: