github: Update GitHub Actions "make" script

Update to the latest supported GitHub API:
  * Update from v2 to v3 of actions/checkout.
  * Update from ::set-output to $GITHUB_OUTPUT.
This commit is contained in:
&Olga 2023-03-31 12:05:10 +04:00 committed by Steven Elliott
parent fb2db61ff1
commit aef5a102dd

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get full repository history
@ -42,7 +42,7 @@ jobs:
if [[ ${VERSION:0:1} == "v" ]]; then
export VERSION=${VERSION:1}
fi
echo "::set-output name=VERSION::$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- name: Upload Freedoom
uses: actions/upload-artifact@v1
with:
@ -53,4 +53,3 @@ jobs:
with:
path: "artifacts/freedm"
name: freedm-${{steps.buildstep.outputs.VERSION}}