fix documentation and branding for release
This commit is contained in:
parent
2f38947dd8
commit
151b692949
|
@ -1,2 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
ProDOS*
|
||||||
|
PRODOS*
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# cadius-action
|
# install-cadius-action
|
||||||
A Github Action for installing Cadius and allowing you to manipulate ProDOS disk images with it.
|
A Github Action for installing Cadius and allowing you to manipulate ProDOS disk images with it.
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ A Github Action for installing Cadius and allowing you to manipulate ProDOS disk
|
||||||
```
|
```
|
||||||
# This will install Cadius on your Github Runner machine
|
# This will install Cadius on your Github Runner machine
|
||||||
- name: Install Cadius
|
- name: Install Cadius
|
||||||
uses: digarok/cadius-action@node
|
uses: digarok/install-cadius-action@master
|
||||||
with:
|
with:
|
||||||
include_prodos: true
|
include_prodos: true
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: 'cadius-action'
|
name: 'install-cadius-action'
|
||||||
description: 'Github Action to set up Cadius for ProDOS disk image manipulation'
|
description: 'Github Action to set up Cadius for ProDOS disk image manipulation'
|
||||||
author: 'Dagen Brock'
|
author: 'Dagen Brock'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -8,3 +8,6 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
branding:
|
||||||
|
icon: 'save'
|
||||||
|
color: 'blue'
|
||||||
|
|
|
@ -846,7 +846,6 @@ function downloadProdos(cadiusPath) {
|
||||||
}
|
}
|
||||||
console.log(util.format("Downloaded file: ", d2pDownloadPath));
|
console.log(util.format("Downloaded file: ", d2pDownloadPath));
|
||||||
try {
|
try {
|
||||||
const spawn = __webpack_require__(129).spawn;
|
|
||||||
const spawnSync = __webpack_require__(129).spawnSync;
|
const spawnSync = __webpack_require__(129).spawnSync;
|
||||||
spawnSync('python3', [d2pDownloadPath, p8DskPath]);
|
spawnSync('python3', [d2pDownloadPath, p8DskPath]);
|
||||||
const cadiusProcess = spawnSync(cadiusExe, ['extractvolume', 'ProDOS_2_4_2.po', '.'], { encoding: 'utf8' });
|
const cadiusProcess = spawnSync(cadiusExe, ['extractvolume', 'ProDOS_2_4_2.po', '.'], { encoding: 'utf8' });
|
||||||
|
@ -854,7 +853,7 @@ function downloadProdos(cadiusPath) {
|
||||||
}
|
}
|
||||||
catch (exception) {
|
catch (exception) {
|
||||||
console.log(exception);
|
console.log(exception);
|
||||||
console.log("Unagle to complete ProDOS download and extraction.");
|
console.log("Unable to complete ProDOS download and extraction.");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "cadius-action",
|
"name": "install-cadius-action",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "cadius-action",
|
"name": "install-cadius-action",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
|
@ -69,7 +69,6 @@ async function downloadProdos(cadiusPath: string) {
|
||||||
|
|
||||||
// Now we need to a) convert the image and b) extract the volume file locally
|
// Now we need to a) convert the image and b) extract the volume file locally
|
||||||
try {
|
try {
|
||||||
const spawn = require("child_process").spawn;
|
|
||||||
const spawnSync = require("child_process").spawnSync;
|
const spawnSync = require("child_process").spawnSync;
|
||||||
|
|
||||||
spawnSync('python3',[d2pDownloadPath, p8DskPath]);
|
spawnSync('python3',[d2pDownloadPath, p8DskPath]);
|
||||||
|
@ -77,7 +76,7 @@ async function downloadProdos(cadiusPath: string) {
|
||||||
console.log(cadiusProcess.stdout);
|
console.log(cadiusProcess.stdout);
|
||||||
} catch (exception) {
|
} catch (exception) {
|
||||||
console.log(exception);
|
console.log(exception);
|
||||||
console.log("Unagle to complete ProDOS download and extraction.");
|
console.log("Unable to complete ProDOS download and extraction.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue