Skip to content

ci: re-use publish workflow from ci #197

ci: re-use publish workflow from ci

ci: re-use publish workflow from ci #197

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release
publish:

Check failure on line 30 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 30, Col: 3): Error calling workflow 'patternfly-yew/patternfly-yew-quickstart/.github/workflows/publish.yaml@0a8215c96080e427697cee0d4b6c6b3a1be4180e'. The workflow is requesting 'pages: write, id-token: write', but is only allowed 'pages: none, id-token: none'.
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/publish.yaml