diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml new file mode 100644 index 0000000..fab0086 --- /dev/null +++ b/.github/workflows/upload.yml @@ -0,0 +1,26 @@ +name: "Rust" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +jobs: + CLAssistant: + upload-artefact: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: "Setup Rust" + uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 + with: + target: x86_64-pc-windows-gnu + + - name: Upload binary + uses: actions/upload-artifact@v3 + with: + name: test_ci_binary + path: target/debug/test_ci diff --git a/.gitignore b/.gitignore index e69de29..4f518cb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ + + +# Added by cargo + +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..d25dca4 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "test_ci" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..76974f5 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "test_ci" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}