We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e1627d commit 3e0b555Copy full SHA for 3e0b555
.github/workflows/nightly.yaml
@@ -0,0 +1,32 @@
1
+name: nightly
2
+
3
+on:
4
+ schedule:
5
+ # run every day at 1AM
6
+ - cron: '0 1 * * *'
7
8
+jobs:
9
+ publish-nightly:
10
+ runs-on: ubuntu-latest
11
12
+ container:
13
+ image: arduino/arduino-cli:builder-0.1
14
+ volumes:
15
+ # cache go dependencies across pipeline's steps
16
+ - $PWD/go:/go
17
18
+ steps:
19
+ - name: checkout
20
+ uses: actions/checkout@v1
21
22
+ - name: build
23
+ run: goreleaser --snapshot
24
25
+ - name: upload
26
+ uses: docker://plugins/s3
27
+ env:
28
+ PLUGIN_SOURCE: 'dist/*'
29
+ PLUGIN_TARGET: '/arduino-cli/nightly'
30
+ PLUGIN_BUCKET: 'arduino-downloads-prod-beagle'
31
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
32
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
0 commit comments