Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Oct 21, 2024
1 parent 3fef8ee commit 235d9fd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ A big advantage of this action compared to other actions is that no additional f
echo "Release version.json URL: ${{steps.version-change.outputs.version-current-release-url}}"
echo "Current snapshot version: ${{steps.version-change.outputs.version-current-snapshot}}"
echo "Snapshot version.json URL: ${{steps.version-change.outputs.version-current-snapshot-url}}"
echo "Current raw JSON: ${{steps.version-change.outputs.version-current-raw-json}}"
```

| Parameter | Datatype | Description |
Expand All @@ -49,7 +48,6 @@ A big advantage of this action compared to other actions is that no additional f
| `version-current-release-url` | `string` | The download url of the release version.json file. |
| `version-current-snapshot` | `string` | The current Minecraft snapshot version fetched |
| `version-current-snapshot-url` | `string` | The download url of the snapshot version.json file. |
| `version-current-raw-json` | `string` | The raw JSON content of the version manifest. |
| `version-previous-release` | `string` | The previous Minecraft release version from artifact |
| `version-previous-snapshot` | `string` | The previous Minecraft snapshot version from artifact |

Expand Down Expand Up @@ -88,7 +86,6 @@ jobs:
echo "Release version.json URL: ${{steps.version-change.outputs.version-current-release-url}}"
echo "Current snapshot version: ${{steps.version-change.outputs.version-current-snapshot}}"
echo "Snapshot version.json URL: ${{steps.version-change.outputs.version-current-snapshot-url}}"
echo "Current raw JSON: ${{steps.version-change.outputs.version-current-raw-json}}"
```
3 changes: 0 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ outputs:
version-current-snapshot-url:
description: 'The download url of the snapshot version.json file.'

version-current-raw-json:
description: 'The raw json content of the current version manifest.'

version-previous-release:
description: 'The previous Minecraft release version from artifact.'

Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const repositoryName = actionsGithub.context.repo.repo;
actionsCore.setOutput('version-current-release-url', releaseVersion?.url);
actionsCore.setOutput('version-current-snapshot', currentManifest.latest.snapshot);
actionsCore.setOutput('version-current-snapshot-url', snapshotVersion?.url);
actionsCore.setOutput('version-current-raw-json', JSON.stringify(currentManifest));

actionsCore.startGroup('Getting artifacts ...');
actionsCore.info('Searching existing artifacts ...');
Expand Down

0 comments on commit 235d9fd

Please sign in to comment.