diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b6db853..5f083b8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v2 + - uses: ./.github/workflows/setup_and_test.yml - name: Publish release diff --git a/.github/workflows/setup_and_test.yml b/.github/workflows/setup_and_test.yml index cf1042be..cf438a80 100644 --- a/.github/workflows/setup_and_test.yml +++ b/.github/workflows/setup_and_test.yml @@ -19,9 +19,6 @@ jobs: run: | echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/lib/server" >> "$GITHUB_ENV" - - name: Checkout sources - uses: actions/checkout@v2 - - name: Build run: cargo build --verbose diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b994e9bb..17d06718 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,4 +9,7 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v2 + - uses: ./.github/workflows/setup_and_test.yml