mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-12 21:25:38 +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
|
||||
*.log
|
||||
@ -80,7 +82,6 @@ typings/
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
|
||||
# Gatsby files
|
||||
.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",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"main": "lib/nextcloud-artifacts.js",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,4 @@
|
||||
import * as fsSync from 'fs'
|
||||
import * as fs from 'fs/promises'
|
||||
import * as path from 'path'
|
||||
import core from '@actions/core';
|
||||
import * as os from 'os';
|
||||
@ -10,6 +9,8 @@ import fetch, { HeadersInit } from 'node-fetch';
|
||||
import { Inputs } from '../Inputs';
|
||||
import btoa from 'btoa';
|
||||
|
||||
const fs = fsSync.promises;
|
||||
|
||||
interface FileSpec {
|
||||
absolutePath: string,
|
||||
uploadPath: string
|
||||
|
@ -7,7 +7,7 @@
|
||||
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
||||
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
||||
"rootDir": "src",
|
||||
"outDir": "dist",
|
||||
"outDir": "lib",
|
||||
"sourceMap": true,
|
||||
"lib": ["es6"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user