diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index cac8c7a..e067bad 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -1,4 +1,12 @@ -create-release: +name: Create Release + +on: + push: + branches: + - main + +jobs: + create-release: runs-on: ubuntu-latest # Use a container with GLIBC 2.17 container: quay.io/pypa/manylinux2014_x86_64 @@ -22,9 +30,9 @@ create-release: with: command: build args: --release --manifest-path cli/Cargo.toml + - name: Upload binary - uses: actions/upload-artifact@4 - with: + uses: actions/upload-artifact@v4 + with: name: cli-tool path: cli - diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31000a2..9fd45e0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: cargo build --verbose - name: Run tests