X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=blobdiff_plain;f=.github%2Fworkflows%2Fmaven.yml;h=37852d63cc522ad4fd7288abfc5124859f573074;hp=1764b257e3c46fa85f704bbfb418f9e374b55014;hb=6206f8c63ff2dc34dbb67c9ffd0b48ed487c672b;hpb=8a0d509fe0aec80effe8efb58b1b9bd8a81d7c3e 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 }}