Skip to content

release-package

release-package #1

Workflow file for this run

name: release
on:
workflow_run:
workflows: ["tag-and-version"]
jobs:
release:

Check failure on line 8 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: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: release ${{ matrix.target }}
needs: tag
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.4
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "readme.md"