Skip to content

Commit

Permalink
Fix Upload Anitorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Dec 23, 2024
1 parent bd4598d commit a0f445c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,18 @@ jobs:
name: 'Upload Anitorrent CMakeCache.txt'
uses: 'actions/upload-artifact@v4'
with:
name: 'anitorrent-cmake-cache-${{ matrix.os }}-${{ matrix.arch }}'
name: 'anitorrent-cmake-cache-${{ matrix.id }}'
path: 'torrent/anitorrent/build-ci/CMakeCache.txt'
overwrite: 'true'
if: '${{ always() }}'
- id: 'step-30'
name: 'Upload Anitorrent ${{ matrix.composeResourceTriple }}'
name: 'Upload Anitorrent ${{ matrix.id }}'
uses: 'actions/upload-artifact@v4'
with:
name: 'anitorrent-${{ matrix.composeResourceTriple }}'
path: 'app/desktop/appResources/${{ matrix.composeResourceTriple }}/anitorrent'
name: 'anitorrent-${{ matrix.id }}'
path: 'torrent/anitorrent/anitorrent-native/build'
overwrite: 'true'
if: '${{ matrix.buildAnitorrent }}'
if: '${{ always() }}'
- id: 'step-31'
name: 'Package Desktop'
run: './gradlew packageReleaseDistributionForCurrentOS ${{ matrix.gradleArgs }}'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/src.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -818,17 +818,17 @@ fun JobBuilder<*>.uploadAnitorrent() {
name = "Upload Anitorrent CMakeCache.txt",
`if` = expr { always() },
action = UploadArtifact(
name = $"anitorrent-cmake-cache-${expr { matrix.os }}-${expr { matrix.arch }}",
name = $"anitorrent-cmake-cache-${expr { matrix.id }}",
path_Untyped = "torrent/anitorrent/build-ci/CMakeCache.txt",
overwrite = true,
),
)
uses(
name = $"Upload Anitorrent ${expr { matrix.composeResourceTriple }}",
`if` = expr { matrix.buildAnitorrent },
name = $"Upload Anitorrent ${expr { matrix.id }}",
`if` = expr { always() },
action = UploadArtifact(
name = $"anitorrent-${expr { matrix.composeResourceTriple }}",
path_Untyped = "app/desktop/appResources/${expr { matrix.composeResourceTriple }}/anitorrent",
name = $"anitorrent-${expr { matrix.id }}",
path_Untyped = "torrent/anitorrent/anitorrent-native/build",
overwrite = true,
),
)
Expand Down

0 comments on commit a0f445c

Please sign in to comment.