From 2530c1a2abc56b020394a0e14d9409abf1179279 Mon Sep 17 00:00:00 2001 From: Vitor Lima Date: Mon, 17 Jun 2024 15:42:51 -0300 Subject: [PATCH] chore: test workflows --- .github/workflows/tests.yml | 11 ++++++----- .gitignore | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b43dd8a..81db9a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,6 +9,10 @@ jobs: build: runs-on: ubuntu-latest environment: PROD + env: + SERVER_SSL_CA: ${{ secrets.SERVER_SSL_CA }} + SERVER_SSL_CERT: ${{ secrets.SERVER_SSL_CERT }} + SERVER_SSL_KEY: ${{ secrets.SERVER_SSL_KEY }} steps: - name: Checkout code uses: actions/checkout@v4 @@ -29,11 +33,8 @@ jobs: toolchain: stable components: rustfmt, clippy - - name: Create .env file - run: | - echo "SERVER_SSL_CA=\"${{ secrets.SERVER_SSL_CA }}\"" >> .env - echo "SERVER_SSL_CERT=\"${{ secrets.SERVER_SSL_CERT }}\"" >> .env - echo "SERVER_SSL_KEY=\"${{ secrets.SERVER_SSL_KEY }}\"" >> .env + - name: Create empty .env file + run: touch .env - name: Build run: cargo build --verbose diff --git a/.gitignore b/.gitignore index f4a2bb8..48cb268 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target .env config.toml +*.pem