From 3d51433415327f41d3740e55bb89a186c64e7264 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Sat, 22 Oct 2022 22:35:14 +0900 Subject: [PATCH] Release when tagged --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f7ea525 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Release +on: + push: + workflow_dispatch: + +jobs: + release: + timeout-minutes: 20 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Wait other jobs + uses: kachick/wait-other-jobs@v1 + with: + github-token: '${{ secrets.GITHUB_TOKEN }}' + if: startsWith(github.ref, 'refs/tags/') + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/')