Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ubuntu-24-pip #19

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26907,7 +26907,11 @@ const { execSync } = __nccwpck_require__(2081);
const { createWriteStream } = __nccwpck_require__(7147)
const { providers, makeConf } = __nccwpck_require__(8842)

execSync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
try {
execSync("/bin/bash -c 'pip3 install s3cmd --no-cache --break-system-packages'")
} catch {
execSync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
}

const conf = makeConf(providers[core.getInput('provider')]({
region: core.getInput("region"),
Expand Down
6 changes: 5 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ const { execSync } = require('child_process');
const { createWriteStream } = require('fs')
const { providers, makeConf } = require('./providers')

execSync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
try {
execSync("/bin/bash -c 'pip3 install s3cmd --no-cache --break-system-packages'")
} catch {
execSync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
}

const conf = makeConf(providers[core.getInput('provider')]({
region: core.getInput("region"),
Expand Down
Loading