Skip to content

Commit

Permalink
fix: incorporate the review from @Totto16
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Feb 5, 2025
1 parent dda2056 commit f93378a
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 444 deletions.
85 changes: 0 additions & 85 deletions flatpak-builder/dist/index.js.LICENSE.txt

This file was deleted.

4 changes: 2 additions & 2 deletions flatpak-builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,11 @@ const run = async (config) => {
return
}

const artifact = new DefaultArtifactClient()
const artifactClient = new DefaultArtifactClient()
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}`
return artifact.uploadArtifact(bundleName, [config.bundle], '.', {
return artifactClient.uploadArtifact(bundleName, [config.bundle], '.', {
continueOnError: false
})
})
Expand Down
11 changes: 5 additions & 6 deletions flatpak-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "jest",
"build": "webpack --progress --config webpack.prod.js"
"test": "jest"
},
"jest": {
"verbose": true,
Expand All @@ -21,11 +20,11 @@
"js-yaml": "^4.1.0"
},
"devDependencies": {
"eslint": "^9.19.0",
"eslint": "^8.49.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"jest": "^29.7.0",
Expand Down
12 changes: 0 additions & 12 deletions flatpak-builder/webpack.prod.js

This file was deleted.

Loading

0 comments on commit f93378a

Please sign in to comment.