mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 04:25:45 -04:00
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:
parent
fb2db61ff1
commit
aef5a102dd
1 changed files with 2 additions and 3 deletions
5
.github/workflows/make.yml
vendored
5
.github/workflows/make.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Get full repository history
|
- name: Get full repository history
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
if [[ ${VERSION:0:1} == "v" ]]; then
|
if [[ ${VERSION:0:1} == "v" ]]; then
|
||||||
export VERSION=${VERSION:1}
|
export VERSION=${VERSION:1}
|
||||||
fi
|
fi
|
||||||
echo "::set-output name=VERSION::$VERSION"
|
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
|
||||||
- name: Upload Freedoom
|
- name: Upload Freedoom
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
@ -53,4 +53,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "artifacts/freedm"
|
path: "artifacts/freedm"
|
||||||
name: freedm-${{steps.buildstep.outputs.VERSION}}
|
name: freedm-${{steps.buildstep.outputs.VERSION}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue