From e9029804657165c5e5f03861f955c6f37b44c221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Fri, 18 Oct 2024 14:41:40 +0200 Subject: [PATCH] DROP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: VĂ­ctor Cuadrado Juan --- .github/workflows/build.yml | 73 +++++++++++++++++++++---------------- Cargo.toml | 2 +- 2 files changed, 42 insertions(+), 33 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40f93ff5..79243834 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,17 +34,20 @@ jobs: target: ${{matrix.targetarch}}-unknown-linux-musl override: true - - uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 - with: - use-cross: true - command: build - args: --release --target ${{matrix.targetarch}}-unknown-linux-musl - - - run: mv target/${{ matrix.targetarch }}-unknown-linux-musl/release/kwctl kwctl-linux-${{ matrix.targetarch }} - - - name: Smoke test build - if: matrix.targetarch == 'x86_64' - run: ./kwctl-linux-x86_64 --help + # - uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 + # with: + # use-cross: true + # command: build + # args: --release --target ${{matrix.targetarch}}-unknown-linux-musl + # + # - run: mv target/${{ matrix.targetarch }}-unknown-linux-musl/release/kwctl kwctl-linux-${{ matrix.targetarch }} + # + # - name: Smoke test build + # if: matrix.targetarch == 'x86_64' + # run: ./kwctl-linux-x86_64 --help + + - name: fake build + run: echo "foo" > kwctl-linux-${{ matrix.targetarch }} - name: Generate attestations uses: actions/attest-build-provenance@v1 @@ -137,17 +140,20 @@ jobs: - run: rustup target add ${{ matrix.targetarch }}-apple-darwin - - name: Build kwctl - uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 - with: - command: build - args: --target=${{ matrix.targetarch }}-apple-darwin --release - - - run: mv target/${{ matrix.targetarch }}-apple-darwin/release/kwctl kwctl-darwin-${{ matrix.targetarch }} - - - name: Smoke test build - if: matrix.targetarch == 'x86_64' - run: ./kwctl-darwin-x86_64 --help + # - name: Build kwctl + # uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 + # with: + # command: build + # args: --target=${{ matrix.targetarch }}-apple-darwin --release + # + # - run: mv target/${{ matrix.targetarch }}-apple-darwin/release/kwctl kwctl-darwin-${{ matrix.targetarch }} + # + # - name: Smoke test build + # if: matrix.targetarch == 'x86_64' + # run: ./kwctl-darwin-x86_64 --help + + - name: fake build + run: echo "foo" > kwctl-darwin-${{ matrix.targetarch }} - name: Generate attestations uses: actions/attest-build-provenance@v1 @@ -235,16 +241,19 @@ jobs: if: matrix.os == 'windows-latest' run: git config --global core.longpaths true - - name: Build kwctl - uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 - with: - command: build - args: --target=x86_64-pc-windows-msvc --release - - - run: mv target/x86_64-pc-windows-msvc/release/kwctl.exe kwctl-windows-x86_64.exe - - - name: Smoke test build - run: .\kwctl-windows-x86_64.exe --help + # - name: Build kwctl + # uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 + # with: + # command: build + # args: --target=x86_64-pc-windows-msvc --release + # + # - run: mv target/x86_64-pc-windows-msvc/release/kwctl.exe kwctl-windows-x86_64.exe + # + # - name: Smoke test build + # run: .\kwctl-windows-x86_64.exe --help + + - name: fake build + run: echo "foo" > kwctl-windows-x86_64.exe - name: Generate attestations uses: actions/attest-build-provenance@v1 diff --git a/Cargo.toml b/Cargo.toml index d33440cf..164e9b83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kwctl" description = "Tool to manage Kubewarden policies" -version = "1.17.0" +version = "1.18.0-viccuad" authors = ["Kubewarden Developers "] edition = "2021"