From 515ef3f32e6d2d0a748fe6bd202a255ec38e5120 Mon Sep 17 00:00:00 2001 From: Mathis Chambon Date: Tue, 4 Jun 2024 10:37:10 +0200 Subject: [PATCH] feat(workflow): auto release test --- .github/workflows/auto-release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/auto-release.yml diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 0000000..59de18b --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,23 @@ +name: 'Release' + +on: + push: + branches: + - test-workflow + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: rickstaa/action-create-tag@v1 + id: 'tag_create' + with: + tag: 'latest' + tag_exists_error: false + message: 'Latest release' + - name: Create Release + uses: ncipollo/release-action@v1.12.0 + with: + tag: ${{ steps.tag_create.outputs.tag }} + skipIfReleaseExists: true