From 57a9f0b50d6a8dd6e01cd774d6e9fcdd786e5bb0 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Wed, 1 Jul 2020 14:27:10 -0400 Subject: [PATCH] Minor actions fixes/updates - always apt-get update before installing packages - move to tagged official create_release action The official GH create_release action now has support for body text from file. Signed-off-by: Phil Estes --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efc81b448..6692e9576 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -238,6 +238,7 @@ jobs: - name: Install Linux dependencies if: startsWith(matrix.os, 'ubuntu') run: | + sudo apt-get update sudo apt-get install -y btrfs-tools libseccomp-dev - name: Make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37a3872f6..2c51c01f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,7 @@ jobs: - name: Install Linux dependencies if: startsWith(matrix.os, 'ubuntu') run: | + sudo apt-get update sudo apt-get install -y btrfs-tools libseccomp-dev - name: HCS Shim commit id: hcsshim_commit @@ -146,13 +147,13 @@ jobs: done - name: Create Release id: create_release - uses: jbolda/create-release@v1.1.0 + uses: actions/create-release@v1.1.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: containerd ${{ needs.check.outputs.stringver }} - bodyFromFile: ./builds/containerd-release-notes/release-notes.md + body_path: ./builds/containerd-release-notes/release-notes.md draft: false prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }} - name: Upload Linux containerd tarball