From 4d83228f00656d4aa20502f9ac401169546ebec9 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 8 May 2021 19:10:07 +0200 Subject: [PATCH] bug(github_actions): Fix date for apidoc examples. Signed-off-by: Lucas Schwiderski --- .github/workflows/apidoc.yml | 4 ++++ .github/workflows/main.yml | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/apidoc.yml b/.github/workflows/apidoc.yml index ef141868..d651403e 100644 --- a/.github/workflows/apidoc.yml +++ b/.github/workflows/apidoc.yml @@ -21,6 +21,10 @@ jobs: main: runs-on: ubuntu-20.04 + env: + # Used for stable dates in documentation examples. See #2070. + SOURCE_DATE_EPOCH: "1893456000" + steps: # Create a cache invalidation key based on the current year + week. # This way, packages will be checked for updates once every week. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d594ed3..d0fe4b82 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,8 +59,6 @@ jobs: tests_screen_size: "1921x1079" check_qa: true empty_theme_while_loading: true - # SOURCE_DATE_EPOCH: used for stable dates during build. - source_date_epoch: "1893456000" test_prev_commits: true env: @@ -68,7 +66,6 @@ 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 }} - SOURCE_DATE_EPOCH: ${{ matrix.source_date_epoch }} TEST_TIMEOUT: '100' CI: 'true'