Skip to content

[BUG] github action workflow for modrinth publication #57

@Crazygiscool

Description

@Crazygiscool

with:
token: ***
project: everything
version: 1.3.7
name: Release 1.3.7
changelog: changelog
files: release-assets/*.jar
game-versions: ["1.20.4","1.20.5","1.20.6",
"1.21","1.21.1","1.21.2","1.21.3","1.21.4",
"1.21.5","1.21.6","1.21.7","1.21.8","1.21.9","1.21.10","1.21.11"]

loaders: ["paper","spigot","bukkit","purpur"]

api-domain: api.modrinth.com
dependencies: []
status: listed

/usr/bin/docker run --name ghcriocloudnodepromodrinthpublish217_66b1fa --label 7b3b07 --workdir /github/workspace --rm -e "INPUT_TOKEN" -e "INPUT_PROJECT" -e "INPUT_VERSION" -e "INPUT_NAME" -e "INPUT_CHANGELOG" -e "INPUT_FILES" -e "INPUT_GAME-VERSIONS" -e "INPUT_LOADERS" -e "INPUT_API-DOMAIN" -e "INPUT_CHANNEL" -e "INPUT_FEATURED" -e "INPUT_PRIMARY-FILE" -e "INPUT_DEPENDENCIES" -e "INPUT_STATUS" -e "INPUT_REQUESTED-STATUS" -e "GH_INPUTS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp":"/github/runner_temp" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/everything/everything":"/github/workspace" ghcr.io/cloudnode-pro/modrinth-publish:2.1.7
Parsing inputs…
Reading files…
node:internal/fs/promises:642
return new FileHandle(await PromisePrototypeThen(
^

Error: ENOENT: no such file or directory, open 'release-assets/.jar'
at async open (node:internal/fs/promises:642:25)
at async Object.readFile (node:internal/fs/promises:1279:14)
at async file:///action/dist/index.js:70:18
at async Promise.all (index 0)
at async file:///action/dist/index.js:61:15 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'release-assets/
.jar'
}

Node.js v24.12.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Bugs

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions