CI: Use v3 of Actions "upload-artifacts", "checkout" and "cache" (#62)

CI: Use v3 of GitHub Actions actions

Affects "checkout", "upload-artifacts", and "cache".
This commit is contained in:
Olle Jonsson 2022-05-31 16:42:05 +02:00 committed by GitHub
parent 6c08d848ad
commit c7534dfb6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ jobs:
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
@ -38,7 +38,7 @@ jobs:
mkdir -p ${{github.workspace}}/build
- name: Cache build deps
id: cache-deps
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.ccache

View File

@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: dsaltares/fetch-gh-release-asset@master
with:

View File

@ -26,7 +26,7 @@ jobs:
name: Build aarch64 on ubuntu20.04
needs: create-release
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Cache build deps
@ -80,7 +80,7 @@ jobs:
echo finished
ls -al
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dragonfly-aarch64
path: build-opt/dragonfly-*tar.gz
@ -91,14 +91,14 @@ jobs:
container:
image: ghcr.io/romange/ubuntu-dev:20
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Build artifacts
run: |
./tools/release.sh
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dragonfly-amd64
path: build-opt/dragonfly-*tar.gz