Skip to content

ci: force snapshot re-resolution (-U) until pages-repo auto-publish i… #9

ci: force snapshot re-resolution (-U) until pages-repo auto-publish i…

ci: force snapshot re-resolution (-U) until pages-repo auto-publish i… #9

Workflow file for this run

name: build
on:
push:
branches: [ main, "rework/**" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
- name: Setup JDK 25 (+ maven settings for GitHub Packages)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'
server-id: github-pinont # must match the <id> of the GH Packages repo in pom.xml
settings-path: ${{ github.workspace }}
# EXPERIMENT: resolves SingularityLib 2.0.0-SNAPSHOT from GitHub Packages using
# this repo's own GITHUB_TOKEN — tests whether cross-repo same-user reads are
# allowed by default without a manual package-access grant.
- name: Build (full compile against lib snapshot)
run: mvn -B -U clean package
env:
GITHUB_TOKEN: ${{ github.token }}