diff --git a/.github/workflows/build_patch_artifacts.yaml b/.github/workflows/build_patch_artifacts.yaml new file mode 100644 index 0000000..b172e6d --- /dev/null +++ b/.github/workflows/build_patch_artifacts.yaml @@ -0,0 +1,39 @@ +name: build_patch_artifacts + +permissions: + contents: write + +on: + push: + tags: + - patch-v[0-9]+.* + +jobs: + create-release: + runs-on: ubuntu-latest + + name: 📦 Create Release + + steps: + - uses: actions/checkout@v3 + - uses: taiki-e/create-gh-release-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + upload-artifacts: + strategy: + matrix: + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + + runs-on: ${{ matrix.os }} + + name: 🦀 Upload Artifacts + + steps: + - uses: actions/checkout@v3 + - uses: taiki-e/upload-rust-binary-action@v1 + with: + bin: "patch" + tar: none + zip: all + token: ${{ secrets.GITHUB_TOKEN }}