Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

consider bicycle=optional_sidepath#1903

consider bicycle=optional_sidepath

consider bicycle=optional_sidepath #1903

name:Publish to GitHub Packages
# ignore tags as the untagged commit has the same GITHUB_SHA and would conflict
on:
push:
branches:
-'**'
jobs:
publish:
if:github.repository_owner == 'graphhopper'
runs-on:ubuntu-latest
permissions:
contents:read
packages:write
steps:
-uses:actions/checkout@v4
-uses:actions/setup-java@v4
with:
java-version:17
distribution:temurin
-name:Cache Maven artifacts
uses:actions/cache@v4
with:
path:~/.m2/repository
key:${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys:|
${{ runner.os }}-maven-
-name:Cache node
uses:actions/cache@v4
with:
path:web-bundle/node
key:${{ runner.os }}-node-${{ hashFiles('**/pom.xml') }}
restore-keys:|
${{ runner.os}}-node-
-name:Cache node_modules
uses:actions/cache@v4
with:
path:web-bundle/node_modules
key:${{ runner.os }}-node-${{ hashFiles('**/pom.xml', '**/package.json') }}
restore-keys:|
${{ runner.os}}-node_modules-
-name:Build and publish package ${{ matrix.java-version }}
# special 'wagon' option due to https://github.com/orgs/community/discussions/49001
run:|
mvn -B versions:set -DnewVersion=$GITHUB_SHA -DgenerateBackupPoms=false
mvn -Dmaven.resolver.transport=wagon -B -DskipTests -Pskip-shaded-web-jar -Pskip-tools-jar source:jar deploy
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

[8]ページ先頭

©2009-2025 Movatter.jp