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

chore(deps): upgrade "@webcrypto-local/cards" to "1.9.0" #257

chore(deps): upgrade "@webcrypto-local/cards" to "1.9.0"

chore(deps): upgrade "@webcrypto-local/cards" to "1.9.0" #257

Workflow file for this run

name: Create installers and draft release
on: push
env:
# fortify-setup package dependency
APP_REPO_FOLDER: ../
# fortify-setup package dependency
RELEASE_FOLDER: ../release
# fortify-setup package dependency
ELECTRON_VERSION: '13.6.9'
# sign-data script dependency
OUTPUT_FOLDER_PATH: ./release
# sign-data script dependency
PRIVATE_KEY_BASE64: ${{ secrets.PRIVATE_KEY_BASE64 }}
# sign-data script dependency
PUBLIC_KEY_BASE64: ${{ secrets.PUBLIC_KEY_BASE64 }}
# fortify-setup clone token
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# actions/create-release dependency
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
checkout:
if: >-
contains(github.event.head_commit.message, '[release]')
runs-on: ubuntu-20.04
steps:
- name: Logging
run: |
echo "Let's create the draft release"
macos:
name: Create macos installer
runs-on: macos-11
needs: [checkout]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
architecture: ${{ matrix.platform }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Prepare app repository
uses: ./.github/actions/prepare-app-repo
- name: Prepare fortify-setup repository
uses: ./.github/actions/prepare-fortify-setup-repo
- name: Create installer
run: yarn --cwd ./fortify-setup build
- name: Sign data
run: yarn sign_data
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
./release/*.jws
./release/*.pkg
ubuntu:
name: Create ubuntu installer
runs-on: ubuntu-20.04
needs: [checkout]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
architecture: ${{ matrix.platform }}
- name: Install OS dependencies
run: sudo apt-get install libpcsclite-dev
- name: Prepare app repository
uses: ./.github/actions/prepare-app-repo
- name: Prepare fortify-setup repository
uses: ./.github/actions/prepare-fortify-setup-repo
- name: Create installer
run: yarn --cwd ./fortify-setup build
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: ./release/*.deb
windows:
name: Create windows installers
runs-on: windows-2019
needs: [checkout]
strategy:
matrix:
platform: [x86, x64]
env:
Platform: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
architecture: ${{ matrix.platform }}
- name: Setup msbuild
uses: microsoft/[email protected]
- name: Prepare app repository
uses: ./.github/actions/prepare-app-repo
- name: Prepare fortify-setup repository
uses: ./.github/actions/prepare-fortify-setup-repo
- name: Create installer
run: yarn --cwd ./fortify-setup build
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: ./release/*.msi
create_release:
name: Prepare and create draft release
runs-on: ubuntu-20.04
needs: [macos, ubuntu, windows]
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: artifacts
path: artifacts
- name: Display structure of downloaded files
run: ls -R
working-directory: artifacts
- name: Create draft release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
name: Draft release ${{ github.ref }}
draft: true
prerelease: false
files: artifacts/*