From 2e01b272c286070dac68b2216a89c65ce11144f1 Mon Sep 17 00:00:00 2001 From: Beinsezii <39478211+Beinsezii@users.noreply.github.com> Date: Sun, 12 Nov 2023 00:53:43 -0800 Subject: [PATCH] Create build_release_tag.yml --- .github/workflows/build_release_tag.yml | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/build_release_tag.yml diff --git a/.github/workflows/build_release_tag.yml b/.github/workflows/build_release_tag.yml new file mode 100644 index 0000000..b4369a1 --- /dev/null +++ b/.github/workflows/build_release_tag.yml @@ -0,0 +1,39 @@ +name: Build Latest Release Tag +on: + push: + tags: + '*' +jobs: + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build Linux Release + run: cargo build --release + - name: Upload Linux Artifact + uses: actions/upload-artifact@v3 + with: + name: linux_so + path: target/release/libcolcon.so + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Build MacOs Release + run: cargo build --release + - name: Upload MacOS Artifact + uses: actions/upload-artifact@v3 + with: + name: macos_dylib + path: target/release/libcolcon.dylib + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Build Windows Release + run: cargo build --release + - name: Upload Windows Artifact + uses: actions/upload-artifact@v3 + with: + name: windows_dll + path: target/release/colcon.dll