CI: Update GitHub actions environments and used actions

Updates the used actions to their latest versions, and update the images to the -latest tags.

This currently means Ubuntu will use 20.04 LTS (and soon 22.04 LTS) and macOS will use macOS 12.

Also adds a workflow_dispatch trigger to the main workflow (the others already have it).
This commit is contained in:
Ewout ter Hoeven
2022-10-25 18:59:09 +02:00
parent 9b79c241d7
commit 809fe5e894
3 changed files with 15 additions and 12 deletions

View File

@@ -10,11 +10,12 @@ on:
branches:
- dev
workflow_dispatch:
jobs:
build:
runs-on: macos-11
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |
date -u
@@ -91,7 +92,7 @@ jobs:
"ARTIFACT_FILE: ${ARTIFACT_FILE}" \
"PUBLISH_NAME: ${PUBLISH_NAME}"
exit
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: ${{env.ARTIFACT_FILE}}
path: ${{env.ARTIFACT_PATH}}