Skip to content

Commit 707b46f

Browse files
committed
(d) modify build workflow for testing
1 parent 1ee6864 commit 707b46f

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 19 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,7 @@ 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'
82+
# working-directory: 'C:\a'
8383
artifacts:
8484
- path: '*Windows_64bit.exe'
8585
name: Windows_X86-64_interactive_installer
@@ -600,15 +600,15 @@ jobs:
600600
path: ${{ env.ARTIFACTS_FOLDER }}
601601
pattern: ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}*
602602

603-
- name: Configure AWS Credentials for Nightly [S3]
604-
uses: aws-actions/configure-aws-credentials@v4
605-
with:
606-
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
607-
aws-region: us-east-1
608-
609-
- name: Publish Nightly [S3]
610-
run: |
611-
aws s3 sync ${{ env.ARTIFACTS_FOLDER }} s3://${{ secrets.DOWNLOADS_BUCKET }}/arduino-ide/nightly
603+
# - name: Configure AWS Credentials for Nightly [S3]
604+
# uses: aws-actions/configure-aws-credentials@v4
605+
# with:
606+
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
607+
# aws-region: us-east-1
608+
#
609+
# - name: Publish Nightly [S3]
610+
# run: |
611+
# aws s3 sync ${{ env.ARTIFACTS_FOLDER }} s3://${{ secrets.DOWNLOADS_BUCKET }}/arduino-ide/nightly
612612

613613
release:
614614
needs:
@@ -658,17 +658,18 @@ jobs:
658658
file_glob: true
659659
body: ${{ needs.changelog.outputs.BODY }}
660660

661-
- name: Configure AWS Credentials for Release [S3]
662-
if: needs.build-type-determination.outputs.publish-to-s3 == 'true'
663-
uses: aws-actions/configure-aws-credentials@v4
664-
with:
665-
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
666-
aws-region: us-east-1
661+
# - name: Configure AWS Credentials for Release [S3]
662+
# if: needs.build-type-determination.outputs.publish-to-s3 == 'true'
663+
# uses: aws-actions/configure-aws-credentials@v4
664+
# with:
665+
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
666+
# aws-region: us-east-1
667667

668668
- name: Publish Release [S3]
669669
if: needs.build-type-determination.outputs.publish-to-s3 == 'true'
670670
run: |
671-
aws s3 sync ${{ env.ARTIFACTS_FOLDER }} s3://${{ secrets.DOWNLOADS_BUCKET }}/arduino-ide
671+
# aws s3 sync ${{ env.ARTIFACTS_FOLDER }} s3://${{ secrets.DOWNLOADS_BUCKET }}/arduino-ide
672+
echo "Hello, world!"
672673
673674
clean:
674675
# This job must run after all jobs that use the transfer artifact.

0 commit comments

Comments
 (0)