Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/snapshot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Snapshot CI

on:
workflow_dispatch:
inputs:
testPackaging:
description: Test packaging operations
required: true
type: boolean
default: false
schedule:
- cron: '0 3 * * *'

Expand Down Expand Up @@ -75,6 +81,11 @@ jobs:
run: mvn -batch-mode --no-transfer-progress clean install -DskipTests
working-directory: ./powsybl-core

- name: Package powsybl-core
if: ${{ github.event_name == 'schedule' || inputs.testPackaging }}
run: mvn -batch-mode --no-transfer-progress package -Prelease -DskipTests
working-directory: ./powsybl-core

- name: Get powsybl-core version
run: echo "CORE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
working-directory: ./powsybl-core
Expand Down