Skip to content

Commit

Permalink
Attempt to fix upload-artifact CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdoom5 committed Jan 23, 2025
1 parent 333005f commit 941c7fd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@ jobs:
shell: bash
run: build/build.sh prepack -platform $PLATFORM -configuration $BUILD_CONFIGURATION

- uses: actions/upload-artifact@v3
- name: Upload Artifacts
# We only need a release version of this in the create_package job
if: matrix.build-cfg == 'Release'
uses: actions/upload-artifact@v4
with:
name: intermediate
name: intermediate-${{ matrix.build-cfg }}-${{ matrix.platform }}
retention-days: 7
overwrite: true
path: |
artifacts
include/**/*.h
Expand All @@ -127,9 +132,9 @@ jobs:
- name: Set version
run: nbgv cloud --all-vars

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: intermediate
name: intermediate-Release-x64

- name: Setup
shell: bash
Expand All @@ -140,7 +145,7 @@ jobs:
run: build/build.sh pack -configuration $BUILD_CONFIGURATION

- name: Upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: CppSharp.nupkg
path: |
Expand Down

0 comments on commit 941c7fd

Please sign in to comment.