diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c87164ae3..6c5826d0ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Fetch all history and metadata - run: git fetch --prune --unshallow + run: git fetch --prune --unshallow --tags - name: Build with Gradle run: ./gradlew build -PbuildServer ${{ matrix.build-options }} - uses: actions/upload-artifact@v2 @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Fetch all history and metadata - run: git fetch --prune --unshallow + run: git fetch --prune --unshallow --tags - uses: actions/setup-java@v1 with: java-version: 11 @@ -132,6 +132,10 @@ jobs: path: combiner/products/build/allOutputs - name: Flatten Artifacts run: rsync -a --delete combiner/products/build/allOutputs/*/* combiner/products/build/allOutputs/ + - name: Check version number exists + run: | + cat combiner/products/build/allOutputs/version.txt + test -s combiner/products/build/allOutputs/version.txt - uses: actions/setup-java@v1 with: java-version: 11