mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated
This commit is contained in:
parent
375d9d7235
commit
a9fca7c3d3
2 changed files with 8 additions and 9 deletions
7
.github/workflows/apidoc.yml
vendored
7
.github/workflows/apidoc.yml
vendored
|
@ -3,10 +3,10 @@ name: Update API docs
|
|||
on:
|
||||
# Trigger on push to branches `master` and `3.5`.
|
||||
push:
|
||||
branches: [ master, 3.5 ]
|
||||
branches: [master, 3.5]
|
||||
# Trigger on pull request events for PRs that have `master` as their target branch
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
# Allow running the workflow manually
|
||||
workflow_dispatch:
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
# This way, packages will be checked for updates once every week.
|
||||
- name: Get Date
|
||||
id: get-date
|
||||
run: echo "::set-output name=date::$(/bin/date -u "+%Y%W")"
|
||||
run: echo "date=$(/bin/date -u "+%Y%W")" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache apt packages
|
||||
id: cache-apt
|
||||
|
@ -156,5 +156,4 @@ jobs:
|
|||
APIDOC_TOKEN: ${{ secrets.AWESOME_ROBOT_TOKEN || github.token }}
|
||||
GITHUB_COMPARE: ${{ github.event.compare }}
|
||||
run: .github/scripts/apidoc.sh
|
||||
|
||||
# vim: filetype=yaml:expandtab:shiftwidth=2:tabstop=2
|
||||
|
|
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -3,10 +3,10 @@ name: Build & Test
|
|||
on:
|
||||
# Trigger on push to branches `master` and `3.5`.
|
||||
push:
|
||||
branches: [ master, 3.5 ]
|
||||
branches: [master, 3.5]
|
||||
# Trigger on pull request events for PRs that have `master` as their target branch
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
# Allow running the workflow manually
|
||||
workflow_dispatch:
|
||||
|
@ -75,15 +75,15 @@ jobs:
|
|||
LUAINCLUDE: ${{ matrix.lua_include || format('/usr/include/lua{0}', matrix.lua_version) }}
|
||||
LUALIBRARY: ${{ matrix.lua_library || format('/usr/lib/x86_64-linux-gnu/liblua{0}.so', matrix.lua_version) }}
|
||||
TESTS_SCREEN_SIZE: ${{ matrix.tests_screen_size }}
|
||||
TEST_TIMEOUT: '100'
|
||||
CI: 'true'
|
||||
TEST_TIMEOUT: "100"
|
||||
CI: "true"
|
||||
|
||||
steps:
|
||||
# Create a cache invalidation key based on the current year + week.
|
||||
# This way, packages will be checked for updates once every week.
|
||||
- name: Get Date
|
||||
id: get-date
|
||||
run: echo "::set-output name=date::$(/bin/date -u "+%Y%W")"
|
||||
run: echo "date=$(/bin/date -u "+%Y%W")" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache apt packages
|
||||
id: cache-apt
|
||||
|
|
Loading…
Reference in a new issue