From: Daniel Kirschten Date: Sun, 13 Sep 2020 13:04:52 +0000 (+0200) Subject: Mocked the time-consuming build process X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=commitdiff_plain;h=6206f8c63ff2dc34dbb67c9ffd0b48ed487c672b Mocked the time-consuming build process --- 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 }}