Skip to content

Remove draft release filter #2

Remove draft release filter

Remove draft release filter #2

name: Test (prerelease)
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: releases
uses: ./
with:
repository: "cli/cli"
prerelease: true
env:
GH_TOKEN: ${{ github.token }}
outputs:
matrix: ${{ steps.releases.outputs.matrix }}
matrix:
runs-on: ubuntu-latest
needs: generate
strategy:
matrix: ${{ fromJson(needs.generate.outputs.matrix) }}
steps:
- run: |
echo "tag_name=${{ matrix.releases.tag_name }}"
echo "target_commitish=${{ matrix.releases.target_commitish }}"
echo "author=${{ matrix.releases.author }}"