diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b75a36d..905580a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: name: Build .deb files for arm & intel runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Git History run: git fetch --unshallow --filter=blob:none --tags --force - name: Set Version @@ -27,25 +27,31 @@ jobs: else echo "version=$(git describe --tags --long --match 'v*')" >> $GITHUB_OUTPUT fi - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' - run: | sudo apt update && sudo apt install p7zip-full nsis CLI_VERSION=${{ steps.set-version.outputs.version }} node cli/.ci/set-package-vars.js CI_CD_BUILD=1 cli/.ci/package.sh - - name: Archive artifacts - uses: actions/upload-artifact@v3 + - name: Archive Linux artifacts + uses: actions/upload-artifact@v4 with: name: Linux path: | - cli/tmp/artifacts + cli/tmp/artifacts/linux + - name: Archive Windows artifacts + uses: actions/upload-artifact@v4 + with: + name: Windows + path: | + cli/tmp/artifacts/windows build-on-macos: name: Build, sign and notarize .pkg files for Mac runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Git History run: git fetch --unshallow --filter=blob:none --tags --force - name: Set Version @@ -57,7 +63,7 @@ jobs: else echo "version=$(git describe --tags --long --match 'v*')" >> $GITHUB_OUTPUT fi - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' - name: Install the Apple certificate and provisioning profile @@ -106,7 +112,7 @@ jobs: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db - name: Archive Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: MacOS path: | diff --git a/.gitignore b/.gitignore index cb2ec11..730d28b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ **/node_modules lib/graphql.schema.json +.vscode \ No newline at end of file diff --git a/cli/.ci/package.sh b/cli/.ci/package.sh index c30b665..b45adda 100755 --- a/cli/.ci/package.sh +++ b/cli/.ci/package.sh @@ -51,11 +51,13 @@ copy_lib sarif if [[ "$OS" == 'Darwin' ]]; then yarn package-macos else - mkdir -p tmp/artifacts + mkdir -p tmp/artifacts/linux yarn package-deb - cp dist/deb/* tmp/artifacts/ + cp dist/deb/* tmp/artifacts/linux + + mkdir -p tmp/artifacts/windows yarn package-win - cp dist/win32/* tmp/artifacts/ + cp dist/win32/* tmp/artifacts/windows fi if [ -n "${LINKED}" ]; then diff --git a/cli/package.json b/cli/package.json index 1947597..d53c9fd 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/platform-cli", - "version": "1.1.0", + "version": "1.2.0", "description": "NowSecure command line tool to interact with NowSecure Platform", "author": "NowSecure", "bin": { diff --git a/github-snapshot/package.json b/github-snapshot/package.json index 9660a15..f43e90c 100644 --- a/github-snapshot/package.json +++ b/github-snapshot/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/github-snapshot", - "version": "1.1.0", + "version": "1.2.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT", diff --git a/lib/package.json b/lib/package.json index 7196bf4..750295a 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,7 +1,7 @@ { "name": "@nowsecure/platform-lib", "description": "A library to interact with NowSecure Platform", - "version": "1.1.0", + "version": "1.2.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT", diff --git a/package.json b/package.json index 27be384..d1cd868 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/platform-lib-monorepo", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "author": "NowSecure", "scripts": { diff --git a/sarif/package.json b/sarif/package.json index 800e877..582706b 100644 --- a/sarif/package.json +++ b/sarif/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/sarif", - "version": "1.1.0", + "version": "1.2.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT",