Fix yml formatting

This commit is contained in:
smartfrigde 2022-12-31 15:51:39 +01:00
parent d9571890ba
commit 8aac607f8f

View file

@ -45,38 +45,38 @@ jobs:
name: ArmCordLinuxArm64.zip name: ArmCordLinuxArm64.zip
path: dist/ArmCord-3.2.0-arm64.zip path: dist/ArmCord-3.2.0-arm64.zip
build-snap: build-snap:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
- name: Use Node.js 18 - name: Use Node.js 18
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: 18 node-version: 18
cache: "pnpm" cache: "pnpm"
- name: Install Node dependencies - name: Install Node dependencies
run: pnpm install -g cargo-cp-artifact && pnpm install run: pnpm install -g cargo-cp-artifact && pnpm install
- name: Install Electron-Builder - name: Install Electron-Builder
run: pnpm install -g electron-builder run: pnpm install -g electron-builder
- name: Replace the version number - name: Replace the version number
run: cat src/utils.ts | sed -e 's/[[:digit:]]\.[[:digit:]]\.[[:digit:]]/DEV/g' | tee src/utils.ts > /dev/null run: cat src/utils.ts | sed -e 's/[[:digit:]]\.[[:digit:]]\.[[:digit:]]/DEV/g' | tee src/utils.ts > /dev/null
- name: Build - name: Build
run: npm run build && electron-builder --linux snap --config.snap.grade=devel run: npm run build && electron-builder --linux snap --config.snap.grade=devel
- name: Publish - name: Publish
- uses: snapcore/action-publish@v1 - uses: snapcore/action-publish@v1
env: env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }} SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with: with:
snap: dist/ArmCord_3.2.0_amd64.snap snap: dist/ArmCord_3.2.0_amd64.snap
release: edge release: edge
build-mac: build-mac:
runs-on: macos-latest runs-on: macos-latest
steps: steps: