From 86d6f87ab19318235c2ccc235cfb9b03bbf79e78 Mon Sep 17 00:00:00 2001 From: Joe Caulfield Date: Wed, 10 Jul 2024 17:06:47 -0500 Subject: [PATCH] add release action --- .github/workflows/release.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 00000000000..7c8cfd84079 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,33 @@ +name: Release + +on: + push: + branches: + - master + - release-automation + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + + - name: Create tags + id: create_tags + run: | + ci/tag-new-crates.sh + git push --tags + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # - name: Publish crates + # id: publish_crates + # needs: create_tags + # run: ci/publish-crates.sh