Skip to content

Release

Release #2

Workflow file for this run

name: Release
on:
release:
types: [created]
jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: zip
- target: x86_64-apple-darwin
archive: zip
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install UI dependencies
run: |
cd ui
npm install
- name: Build UI
run: |
cd ui
npm run build
- name: Compile and release
uses: actions/checkout@master
uses: rust-build/rust-build.action@v1.4.5

Check failure on line 40 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 40, Col: 9): 'uses' is already defined
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}