From ec65b64fbe974861d61a0e96b6156f64bee709fd Mon Sep 17 00:00:00 2001 From: Rin Iwai Date: Fri, 18 Aug 2023 09:07:26 +0900 Subject: [PATCH] add release.yml --- .github/workflows/release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..d74f0d06 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: Release .deb + +on: push + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v3 + + - id: build + uses: tutrobo/ros2-deb-build@master + + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: ${{ steps.build.outputs.archives }}/*.deb