From 733d8f1bf95d282c6d06ac3f23478451c9570f5e Mon Sep 17 00:00:00 2001 From: Yashodhan Joshi Date: Tue, 13 Dec 2022 13:11:27 +0530 Subject: [PATCH] See if tests still fail --- .github/workflows/release.yml | 82 +++++++++++++++++------------------ 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2aa23b8d2..5df6fa940 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,28 +5,28 @@ on: tags: ["v[0-9]+.[0-9]+.[0-9]+*"] jobs: - # check: - # name: Check - # runs-on: ubuntu-20.04 - # steps: - # - uses: actions/checkout@v3 - # with: - # submodules: recursive - # - run: sudo apt-get -y update - # - run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev - # - name: Set up cargo - # uses: actions-rs/toolchain@v1 - # with: - # toolchain: stable - # override: true - # - name: Build - # run: make youki-release - # - name: test - # run: make test-all + check: + name: Check + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - run: sudo apt-get -y update + - run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev libclang-dev + - name: Set up cargo + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Build + run: make youki-release + - name: test + run: make test-all upload: name: Upload - # needs: check + needs: check runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 @@ -93,27 +93,27 @@ jobs: with: name: ${{ env.VERSION }} Release draft: true - # token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: ./${{ env.OUTPUTDIR }}.tar.gz - # publish: - # name: Publish Packages - # needs: check - # runs-on: ubuntu-20.04 - # env: - # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - # steps: - # - uses: actions/checkout@v3 - # - name: Set up cargo - # uses: actions-rs/toolchain@v1 - # with: - # toolchain: stable - # override: true - # - name: Publish libcgroups - # run: cargo publish -p libcgroups --no-verify - # - name: Publish libcontainer - # run: cargo publish -p libcontainer --no-verify - # - name: Publish liboci-cli - # run: cargo publish -p liboci-cli --no-verify - # - name: Publish youki - # run: cargo publish -p youki --no-verify + publish: + name: Publish Packages + needs: check + runs-on: ubuntu-20.04 + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + steps: + - uses: actions/checkout@v3 + - name: Set up cargo + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Publish libcgroups + run: cargo publish -p libcgroups --no-verify + - name: Publish libcontainer + run: cargo publish -p libcontainer --no-verify + - name: Publish liboci-cli + run: cargo publish -p liboci-cli --no-verify + - name: Publish youki + run: cargo publish -p youki --no-verify