From 6206f8c63ff2dc34dbb67c9ffd0b48ed487c672b Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Sun, 13 Sep 2020 15:04:52 +0200 Subject: [PATCH] Mocked the time-consuming build process --- .github/workflows/maven.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1764b257..37852d63 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,8 +26,12 @@ jobs: key: mograsim-maven-${{ hashFiles('**/pom.xml,**/MANIFEST.MF') }} restore-keys: | mograsim-maven- - - name: Build with Maven - run: mvn --batch-mode --errors --fail-at-end --show-version clean verify --file pom.xml + - name: Build with Maven (mocked) + run: | + echo mvn --batch-mode --errors --fail-at-end --show-version clean verify --file pom.xml + mkdir -p releng/net.mograsim.plugin.updatesite/target/repository/subdir + echo "file contents" > releng/net.mograsim.plugin.updatesite/target/repository/somefile.txt + echo "another contents" > releng/net.mograsim.plugin.updatesite/target/repository/subdir/somefile2.txt - name: Deploy to mograsim.net env: DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }} -- 2.17.1