diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index af97ddbd..174b3ad7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -86,7 +86,7 @@ jobs: DATABASE_URL: postgres://postgres:password@localhost:5432/postgres - name: Generate coverage file - if: matrix.version == '1.51.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') + if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') uses: actions-rs/tarpaulin@v0.1 with: version: '0.15.0' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 50941859..1687000f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -102,7 +102,7 @@ jobs: DATABASE_URL: postgres://postgres:password@localhost:5432/postgres - name: generate documentation - if: matrix.version == '1.51.0' && (github.repository == 'mCaptcha/mCaptcha') + if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') uses: actions-rs/cargo@v1 with: command: doc @@ -113,7 +113,7 @@ jobs: OPEN_API_DOCS: 8e77345f1597e40c2e266cb4e6dee74888918a61 - name: Deploy to GitHub Pages - if: matrix.version == '1.51.0' && (github.repository == 'mCaptcha/mCaptcha') + if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}