From 45c48f95f06f119c0ecf32680e1b92970dc6aef9 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 16 Jun 2024 19:07:35 -0400 Subject: [PATCH] ci: add release workflow [skip ci] Change-Id: I0159d0d8463760c26994a0096fcb500f56078254 --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ef1f7b..9aef686 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: CI on: push: + branches: + - '**' paths-ignore: - 'Dockerfile' - '.dockerignore' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..172cbd3 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +name: Release +on: + push: + tags: + - 'ndn-tools-[0-9]+*' + workflow_dispatch: + +permissions: + attestations: write + contents: write + id-token: write + +jobs: + release: + uses: named-data/actions/.github/workflows/release.yml@v1