-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (27 loc) · 1.13 KB
/
publish-product-versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Nightly generate padogrid_download_versions.sh file that includes downlodable product versions
#
name: Publish Downloadable Product Versions
on:
schedule:
- cron: '30 0 * * *'
jobs:
archive-build-artifacts:
runs-on: ubuntu-latest
steps:
- name: Step 1 - Run install_padogrid -scan 5 -save padogrid_download_versions.sh
run: |
curl -fsSL https://raw.githubusercontent.com/padogrid/padogrid/develop/padogrid-deployment/src/main/resources/common/bin_sh/install_padogrid | /bin/bash -s -- -no-stty -quiet -scan 5 -save padogrid_download_versions.sh
- name: Print padogrid_download_versions.sh
run: cat padogrid_download_versions.sh
shell: bash
- name: Step 2 - Upload padogrid_download_versions.sh to the branch release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
file: padogrid_download_versions.sh
asset_name: padogrid_download_versions.sh
tag: nightly
overwrite: true
body: "PadoGrid downlodable product versions"