-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update actions versions to v4 / v3 to avoid deprecation failures
- Loading branch information
1 parent
85cedde
commit b361e86
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,15 @@ jobs: | |
# this provides some extremly helpful insight into the meta data of the current execution, see also https://docs.github.com/en/actions/learn-github-actions/contexts#github-context and https://stackoverflow.com/questions/70104600/complete-list-of-github-actions-contexts | ||
# - name: Dump GitHub context | ||
# run: echo '${{ toJSON(github) }}' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: nelonoel/[email protected] | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: adopt | ||
- name: Cache Maven packages | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: .m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('.github/workflows/**/*.*', '**/pom.xml', '**/META-INF/MANIFEST.MF', 'build/de.cau.cs.kieler.klighd.targetplatform/de.cau.cs.kieler.klighd.targetplatform.target') }} | ||
|
@@ -43,23 +43,23 @@ jobs: | |
#print the folder structure up to depth 2 on the console as we have no other option of getting an inside into workspace folder | ||
find . -maxdepth 2 | ||
- name: Archive P2 Repository | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: KLighD P2 Repository | ||
path: build/de.cau.cs.kieler.klighd.repository/target/repository/**/* | ||
retention-days: 14 | ||
if-no-files-found: error | ||
- name: Archive MVN Repository | ||
if: ${{ !contains(github.ref, 'releases-') }} | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
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 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: KLighD MVN Repository | ||
path: klighd/**/* | ||
|