Skip to content

Commit

Permalink
OY-4962 Julkaistaan artefaktit Github-packagesiin
Browse files Browse the repository at this point in the history
  • Loading branch information
jkorri committed Dec 12, 2024
1 parent 8b02b05 commit d200ab2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ jobs:
#if: github.ref == 'refs/heads/master'
shell: bash
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
run: |
cd main
git clone https://github.com/Opetushallitus/ci-tools.git
source ci-tools/common/setup-tools.sh
mvn deploy -B -pl fi.vm.sade.sijoittelu:sijoittelu,sijoittelu-tulos-api,sijoittelu-algoritmi-domain,sijoittelu-algoritmi-batch,sijoittelu-tulos-service -DskipTests --settings ci-tools/common/maven-settings.xml
mvn deploy -B -pl fi.vm.sade.sijoittelu:sijoittelu,sijoittelu-tulos-api,sijoittelu-algoritmi-domain,sijoittelu-algoritmi-batch,sijoittelu-tulos-service -DskipTests
21 changes: 8 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,15 @@

</modules>

<distributionManagement>
<repository>
<id>oph-sade-artifactory</id>
<name>oph-sade-artifactory-releases</name>
<url>https://artifactory.opintopolku.fi/artifactory/oph-sade-release-local</url>
</repository>
<snapshotRepository>
<id>oph-sade-artifactory</id>
<name>oph-sade-artifactory-snapshots</name>
<url>https://artifactory.opintopolku.fi/artifactory/oph-sade-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/Opetushallitus/sijoittelu</url>
</repository>
</distributionManagement>

<properties>
<properties>
<jackson.version>2.18.2</jackson.version>
<spring.security.version>6.3.5</spring.security.version>
<valintalaskenta.version>6.1.0-SNAPSHOT</valintalaskenta.version>
Expand Down

0 comments on commit d200ab2

Please sign in to comment.