Skip to content

Run CI on pushed tags #7

Run CI on pushed tags

Run CI on pushed tags #7

Workflow file for this run

name: Dissect CI
on:
push:
branches:
- main
tags:
- *

Check failure on line 7 in .github/workflows/dissect-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dissect-ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
pull_request:
workflow_dispatch:
jobs:
ci:
uses: fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-template.yml@main
secrets: inherit
publish:
if: ${{ github.ref_name == 'main' || github.ref_type == 'tag' }}
needs: [ci]
runs-on: ubuntu-latest
environment: dissect_publish
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: packages
path: dist/
# According to the documentation, it automatically looks inside the `dist/` folder for packages.
- name: Publish package distributions to Pypi
uses: pypa/gh-action-pypi-publish@release/v1
trigger-tests:
needs: [publish]
uses: fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-demand-test-template.yml@main
with:
on-demand-test: 'dissect.target'