Skip to content

Commit

Permalink
Include -flatpak in artifact name to differentiate from other artifacts
Browse files Browse the repository at this point in the history
This is necessary as we remove the .flatpak suffix when adding the arch suffix
  • Loading branch information
darkdragon-001 committed Jan 22, 2024
1 parent b8be6bc commit 4a71646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatpak-builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ const run = async (config) => {
const artifactClient = artifact.create()
core.info('Uploading artifact...')
// Append the arch to the bundle name to prevent conflicts in multi-arch jobs
const bundleName = config.bundle.replace('.flatpak', '') + `-${config.arch}`
const bundleName = config.bundle.replace('.flatpak', '') + `-${config.arch}.flatpak`
return artifactClient.uploadArtifact(bundleName, [config.bundle], '.', {
continueOnError: false
})
Expand Down

0 comments on commit 4a71646

Please sign in to comment.