Skip to content

pack_hb32_mingw_0703 #9

pack_hb32_mingw_0703

pack_hb32_mingw_0703 #9

#
# pack_hb32_mingw_0703.yml
#
# input: hb32_mingw_0703.zip
# input: mingw_0703.zip
# input: addons_hb32_mingw_0703.zip
# output: pack_hb32_mingw_0703.zip
#
name: pack_hb32_mingw_0703
on:
#push:
schedule:
- cron: "30 2 1 * *"
workflow_dispatch:
inputs:
name:
description: 'pack_hb32_mingw_0703'
default: 'pack_hb32_mingw_0703'
required: true
jobs:
Build:
runs-on: windows-latest
steps:
- name: load mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: mingw_0703.yml
workflow_conclusion: success
name: mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: load hb32_mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: hb32_mingw_0703.yml
workflow_conclusion: success
name: hb32_mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: load addons_hb32_mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: addons_hb32_mingw_0703.yml
workflow_conclusion: success
name: addons_hb32_mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: Unzip All
env:
PATH: c:\program files\7-zip
run: |
c:
7z x -y c:\temp\hb32_mingw_0703.7z -oc:\temp\harbour
md c:\harbour\comp
7z x -y c:\temp\mingw_0703.7z -oc:\temp\harbour\comp
md c:\harbour\addons
7z x -y c:\temp\addons_hb32_mingw_0703.7z -oc:\temp\harbour\addons
- name: Create pack_hb32_mingw_0703.zip
env:
PATH: c:\program files\7-zip
run: |
c:
7z a -r c:\temp\pack_hb32_mingw_0703.7z c:\temp\harbour\*.* -xr'!.git' -xr'!.github' -xr'!.hbmk'
- name: Save pack_hb32_mingw_0703.zip to workflow
uses: actions/upload-artifact@v4
with:
name: pack_hb32_mingw_0703
path: c:\temp\pack_hb32_mingw_0703.7z