Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
convert from npm to yarn in and update packages, add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jan 10, 2022
1 parent 2259c47 commit 53b1053
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 1,398 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
cd ..
sudo chown -R root secman
cd secman
cd secman
sudo yarn pack:deb
sudo mv ./dist/deb/secman_${{ env.RELEASE }}-1_amd64.deb ./dist/deb/secman_v${{ env.RELEASE }}_amd64.deb
sudo mv ./dist/deb/secman_${{ env.RELEASE }}-1_armel.deb ./dist/deb/secman_v${{ env.RELEASE }}_arm.deb
Expand Down Expand Up @@ -78,8 +78,8 @@ jobs:
- name: Bump Homebrew tap
run: |
cd scripts/brew
npm i
npm start
sudo yarn
sudo yarn start
cd tmp/homebrew-secman
git config --local user.email "${{ env.GITHUB_ACTIONS_EMAIL }}"
git config --local user.name "${{ env.GITHUB_ACTIONS_NAME }}"
Expand Down
1 change: 0 additions & 1 deletion scripts/brew/homebrew.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const mkdirp = require("mkdirp");
const { promisify } = require("util");
const { pipeline } = require("stream");
const _crypto = require("crypto");
const sh = require("shelljs");

const NODE_JS_BASE = "https://nodejs.org/download/release";
const SECMAN_DIR = path.join(__dirname, "..", "..");
Expand Down
Loading

0 comments on commit 53b1053

Please sign in to comment.