Merge pull request #4356 from estesp/actions-fixes

Minor actions fixes/updates
This commit is contained in:
Akihiro Suda 2020-07-02 12:25:53 +09:00 committed by GitHub
commit 468d4e1ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -238,6 +238,7 @@ jobs:
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: | run: |
sudo apt-get update
sudo apt-get install -y btrfs-tools libseccomp-dev sudo apt-get install -y btrfs-tools libseccomp-dev
- name: Make - name: Make

View File

@ -82,6 +82,7 @@ jobs:
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: | run: |
sudo apt-get update
sudo apt-get install -y btrfs-tools libseccomp-dev sudo apt-get install -y btrfs-tools libseccomp-dev
- name: HCS Shim commit - name: HCS Shim commit
id: hcsshim_commit id: hcsshim_commit
@ -146,13 +147,13 @@ jobs:
done done
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: jbolda/create-release@v1.1.0 uses: actions/create-release@v1.1.2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
release_name: containerd ${{ needs.check.outputs.stringver }} 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 draft: false
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }} prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
- name: Upload Linux containerd tarball - name: Upload Linux containerd tarball