Skip to content

Commit e780409

Browse files
committed
(d) Configure build system for testing
1 parent 5687505 commit e780409

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- 'static/**'
3535
- '*.md'
3636
schedule:
37-
- cron: '0 3 * * *' # run every day at 3AM (https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)
37+
- cron: "*/5 * * * *"
3838
workflow_run:
3939
workflows:
4040
- Push Container Images
@@ -56,7 +56,7 @@ env:
5656
- config:
5757
# Human identifier for the job.
5858
name: Windows
59-
runs-on: [self-hosted, windows-sign-pc]
59+
runs-on: windows-2019
6060
# The value is a string representing a JSON document.
6161
# Setting this to null causes the job to run directly in the runner machine instead of in a container.
6262
container: |
@@ -79,7 +79,6 @@ env:
7979
# otherwise paths in the build job will be too long for `light.exe`
8080
# we use the below as a Symbolic link (just changing the wd will break the checkout action)
8181
# this is a work around (see: https://github.com/actions/checkout/issues/197).
82-
working-directory: 'C:\a'
8382
artifacts:
8483
- path: '*Windows_64bit.exe'
8584
name: Windows_X86-64_interactive_installer
@@ -568,6 +567,13 @@ jobs:
568567
name: ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}changelog
569568
path: CHANGELOG.txt
570569

570+
- name: Upload changelog artifact
571+
if: needs.build-type-determination.outputs.is-nightly == 'true'
572+
uses: actions/upload-artifact@v4
573+
with:
574+
name: changelog
575+
path: CHANGELOG.txt
576+
571577
publish:
572578
needs:
573579
- build-type-determination
@@ -596,6 +602,9 @@ jobs:
596602
path: ${{ env.ARTIFACTS_FOLDER }}
597603
pattern: ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}*
598604

605+
- run: |
606+
ls -lAR "${{ env.ARTIFACTS_FOLDER }}"
607+
599608
- name: Publish Nightly [S3]
600609
uses: docker://plugins/s3
601610
env:
@@ -633,6 +642,9 @@ jobs:
633642
path: ${{ env.ARTIFACTS_FOLDER }}
634643
pattern: ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}*
635644

645+
- run: |
646+
ls -lAR "${{ env.ARTIFACTS_FOLDER }}"
647+
636648
- name: Get Tag
637649
id: tag_name
638650
run: |

0 commit comments

Comments
 (0)