Skip to content

Commit

Permalink
Fix GH Actions builds on release branches
Browse files Browse the repository at this point in the history
On release branches, look up the `klighd` instead of the `klighd-snapshots` for the Maven repository.
Fixes #163
  • Loading branch information
NiklasRentzCAU committed Mar 15, 2024
1 parent 7c1704e commit aa794fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ jobs:
retention-days: 14
if-no-files-found: error
- name: Archive MVN Repository
if: ${{ !contains(github.ref, 'releases-') }}
uses: actions/upload-artifact@v2
with:
name: KLighD MVN Repository
path: klighd-snapshots/**/*
retention-days: 14
if-no-files-found: error
- name: Archive MVN Release Repository
if: ${{ contains(github.ref, 'releases-') }}
uses: actions/upload-artifact@v2
with:
name: KLighD MVN Repository
path: klighd/**/*
retention-days: 14
if-no-files-found: error
- name: Publish Test Report
id: test_report
if: ${{ !cancelled() }}
Expand Down

0 comments on commit aa794fc

Please sign in to comment.