Skip to content

Commit 051f652

Browse files
author
wow-actions-bot
committed
release v2.0.0
1 parent b3ab2ab commit 051f652

28 files changed

+29
-3684
lines changed

.editorconfig

-16
This file was deleted.

.eslintrc

-3
This file was deleted.

.github/workflows/release.yml

-30
This file was deleted.

.gitignore

-16
This file was deleted.

.husky/.gitignore

-1
This file was deleted.

.husky/commit-msg

-4
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

.prettierignore

-3
This file was deleted.

.prettierrc

-8
This file was deleted.

LICENSE

-21
This file was deleted.

README.md

-130
This file was deleted.

dist/action.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export declare function run(): Promise<void>;
2+
export declare function cleanup(): Promise<void>;

dist/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

dist/index.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');
2+
const basename = __dirname + '/index.js';
3+
const source = readFileSync(basename + '.cache.js', 'utf-8');
4+
const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');
5+
const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 }
6+
const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);
7+
(script.runInThisContext())(exports, require, module, __filename, __dirname);
8+
if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });

dist/index.js.cache

29.1 KB
Binary file not shown.

dist/index.js.cache.js

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/state.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export declare const isPost: boolean;

dist/util.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export declare function getAppSlugName(): string;
2+
export declare function getAppTokenName(): string;
3+
export declare function getAppInfo(): Promise<{
4+
token: string;
5+
slug: string;
6+
}>;
7+
export declare function createSecret(token: string, secretName: string, secretValue: string): Promise<void>;
8+
export declare function deleteSecret(token: string, secretName: string): Promise<void>;

screenshots/get-app-id.jpg

-149 KB
Binary file not shown.

screenshots/get-private-key.jpg

-64.3 KB
Binary file not shown.

screenshots/screenshot.jpg

-88 KB
Binary file not shown.

screenshots/secrets.jpg

-210 KB
Binary file not shown.

src/action.ts

-46
This file was deleted.

src/index.ts

-9
This file was deleted.

src/state.ts

-10
This file was deleted.

0 commit comments

Comments
 (0)