Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Upgrade artifact actions (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Feb 16, 2024
1 parent 56491c2 commit 54b910b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ jobs:
- name: install
run: cmake --install build --config RelWithDebInfo --prefix pkg

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: pkg

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}-java-libraries
path: java/src/main/resources
Expand All @@ -98,7 +98,7 @@ jobs:
- name: install
run: cmake --install build --config Release --prefix pkg

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: Wasm
path: pkg
Expand All @@ -118,29 +118,29 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Native - Windows (CasADi)-java-libraries
path: java/src/main/resources

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Native - macOS x86_64 (CasADi)-java-libraries
path: java/src/main/resources

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Native - macOS arm64 (CasADi)-java-libraries
path: java/src/main/resources

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Native - Linux (CasADi)-java-libraries
path: java/src/main/resources

- run: cd java/src/main/resources/osx;ls

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: all-java-libraries
path: java/src/main/resources
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
doxyfile-path: 'docs/Doxyfile'

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: documentation
path: build/docs
2 changes: 1 addition & 1 deletion .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Generate diff
run: git diff HEAD > wpiformat-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wpiformat fixes
path: wpiformat-fixes.patch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
working-directory: java
run: ./gradlew jar

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: TrajoptLib-jar
path: java/build/libs/*.jar
Expand Down

0 comments on commit 54b910b

Please sign in to comment.