Skip to content

incr: added shell property #120

incr: added shell property

incr: added shell property #120

Workflow file for this run

name: Publish
on: workflow_dispatch
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
- { os: macos-14, shell: bash, opt: '--mac', dist: 'dist-macOS-arm' },
- {
os: macos-13,
shell: bash,
opt: '--mac',
dist: 'dist-macOS-x86_64',
},
- {
os: ubuntu-latest,
shell: bash,
opt: '--linux',
dist: 'dist-linux',
},
- {
os: windows-2019,
shell: bash,
opt: '--win',
dist: 'dist-windows',
}
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
- name: Checkout Books
uses: actions/checkout@v2
- name: Install Dependencies
run: |
yarn set version 1.22.18
yarn
- name: Set Error Log Creds
env:
ERR_LOG_KEY: ${{ secrets.ERR_LOG_KEY }}
ERR_LOG_URL: ${{ secrets.ERR_LOG_URL }}
ERR_LOG_SECRET: ${{ secrets.ERR_LOG_SECRET }}
TELEMETRY_URL: ${{ secrets.TELEMETRY_URL }}
run: |
echo $ERR_LOG_KEY > log_creds.txt
echo $ERR_LOG_SECRET >> log_creds.txt
echo $ERR_LOG_URL >> log_creds.txt
echo $TELEMETRY_URL >> log_creds.txt
- name: Run build
env:
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
yarn set version 1.22.18
yarn build ${{ matrix.opt }} --publish always
- name: Tar files
run: tar -cvf dist.tar dist_electron
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.dist }}
path: dist.tar