function downloadFile(u) {
http.get(u, (res) => {
var data = "";
res.setEncoding('binary');
res.on('data', function (chunk) {
data += chunk
})
res.on('end', () => {
let filename = Date.now();
fs.wr...
# This is a basic workflow to help you get started with Actions
name: deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
pull_request:
branches:
...