1- name : Hyperion CI Build
1+ name : HyperHDR CI Build
22on :
33 push :
44 branches-ignore :
@@ -24,10 +24,10 @@ jobs:
2424 dockerName : Debian Buster (x86_64)
2525 platform : x11
2626 - dockerImage : armv6l
27- dockerName : Debian Buster (Raspberry Pi v1 & ZERO)
28- platform : rpi
27+ dockerName : Debian Buster (Raspberry Pi 1 & 2 & ZERO)
28+ platform : rpi
2929 - dockerImage : armv7l
30- dockerName : Debian Buster (Raspberry Pi 2 & 3 )
30+ dockerName : Debian Buster (Raspberry Pi 3 & 4 )
3131 platform : rpi
3232
3333 steps :
5252 with :
5353 path : deploy/Hyper*
5454
55-
55+ # Upload artifacts from commit
56+ # - name: Upload artifacts from commit
57+ # if: (startsWith(github.event.ref, 'refs/tags') != true)
58+ # uses: actions/upload-artifact@v2
59+ # with:
60+ # name: ${{ matrix.dockerImage }}
61+ # path: deploy/Hyper*.deb
62+
5663# #####################
5764# ##### Windows #######
5865# #####################
@@ -96,10 +103,10 @@ jobs:
96103 MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
97104 MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
98105
99- - name : Install Python, NSIS, OpenSSL, TurboJPG, 7zip
106+ - name : Install Python, NSIS, OpenSSL, 7zip
100107 shell : powershell
101108 run : |
102- choco install --no-progress python nsis openssl libjpeg-turbo 7zip.install -y
109+ choco install --no-progress python nsis openssl 7zip.install -y
103110 - name : Set up x64 build architecture environment
104111 shell : cmd
105112 run : call "${{env.VCINSTALLDIR}}\Auxiliary\Build\vcvars64.bat"
@@ -118,51 +125,22 @@ jobs:
118125 with :
119126 path : build/Hyper*
120127
121- # #####################
122- # ### Documentation ###
123- # #####################
124-
125- Docs :
126- name : Documentation
127- runs-on : ubuntu-20.04
128- defaults :
129- run :
130- working-directory : docs
131- steps :
132- - name : Checkout
133- uses : actions/checkout@v2
134-
135- # Install dependencies
136- - name : Setup node 12
137- uses : actions/setup-node@v1
138- with :
139- node-version : ' 12'
140-
141- # Build Docs
142- - name : Build docs
143- run : |
144- cd docs
145- npm install -g yarn
146- yarn install
147- yarn docs:build
148-
149- # Deploy to gh-pages (only on tagged commit)
150- - name : Deploy to gh-pages
151- if : startsWith(github.event.ref, 'refs/tags')
152- uses : peaceiris/actions-gh-pages@v3
153- with :
154- github_token : ${{ secrets.GITHUB_TOKEN }}
155- publish_dir : ./docs/dist
156- cname : docs.hyperion-project.org
157-
128+ # Upload artifacts from commit
129+ # - name: Upload artifacts from commit
130+ # if: (startsWith(github.event.ref, 'refs/tags') != true)
131+ # uses: actions/upload-artifact@v2
132+ # with:
133+ # name: windows
134+ # path: build/Hyper*.exe
135+
158136# ###############################
159137# ##### Publish Releases ########
160138# ###############################
161139
162140 publish :
163141 name : Publish Releases
164142 if : startsWith(github.event.ref, 'refs/tags')
165- needs : [Linux, windows, Docs ]
143+ needs : [Linux, windows]
166144 runs-on : ubuntu-20.04
167145 steps :
168146 - name : Checkout
@@ -171,14 +149,14 @@ jobs:
171149 # generate environment variables
172150 - name : Generate environment variables from version and tag
173151 run : |
174- echo ::set-env name= TAG:: ${GITHUB_REF/refs\/tags\//}
175- echo ::set-env name= VERSION:: $(tr -d '\n' < version)
176- echo ::set-env name= preRelease:: false
152+ echo " TAG= ${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
153+ echo " VERSION= $(tr -d '\n' < version)" >> $GITHUB_ENV
154+ echo " preRelease= false" >> $GITHUB_ENV
177155
178156 # If version contains alpha or beta, mark draft release as pre-release
179157 - name : Mark release as pre-release
180158 if : contains(env.VERSION, 'alpha') || contains(env.VERSION, 'beta')
181- run : echo ::set-env name= preRelease:: true
159+ run : echo " preRelease= true" >> $GITHUB_ENV
182160
183161 # Download artifacts from previous build process
184162 - name : Download artifacts
0 commit comments