mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-12 13:15:39 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
314b7642ee | |||
1259b887e0 | |||
aae7f9ffbb | |||
0141d42d10 | |||
a6f0f86670 | |||
22aca2a29a |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
lib
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
*.log
|
*.log
|
||||||
@ -80,7 +82,6 @@ typings/
|
|||||||
|
|
||||||
# Nuxt.js build / generate output
|
# Nuxt.js build / generate output
|
||||||
.nuxt
|
.nuxt
|
||||||
dist
|
|
||||||
|
|
||||||
# Gatsby files
|
# Gatsby files
|
||||||
.cache/
|
.cache/
|
||||||
|
30706
dist/index.js
vendored
Normal file
30706
dist/index.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,9 +2,10 @@
|
|||||||
"name": "nextcloud-artifacts-action",
|
"name": "nextcloud-artifacts-action",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "lib/nextcloud-artifacts.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"build": "npx tsc && npx @vercel/ncc build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import * as fsSync from 'fs'
|
import * as fsSync from 'fs'
|
||||||
import * as fs from 'fs/promises'
|
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
import core from '@actions/core';
|
import core from '@actions/core';
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
@ -10,6 +9,8 @@ import fetch, { HeadersInit } from 'node-fetch';
|
|||||||
import { Inputs } from '../Inputs';
|
import { Inputs } from '../Inputs';
|
||||||
import btoa from 'btoa';
|
import btoa from 'btoa';
|
||||||
|
|
||||||
|
const fs = fsSync.promises;
|
||||||
|
|
||||||
interface FileSpec {
|
interface FileSpec {
|
||||||
absolutePath: string,
|
absolutePath: string,
|
||||||
uploadPath: string
|
uploadPath: string
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
||||||
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"outDir": "dist",
|
"outDir": "lib",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"lib": ["es6"]
|
"lib": ["es6"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user