mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-30 08:16:54 -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
|
||||
|
||||
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}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue