File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Hadoop
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ hadoop-version :
6+ required : true
7+ description : The Hadoop version (e.g. 3.2.0), should be in apache.archive.org
8+
9+
10+ jobs :
11+ build :
12+ name : Hadoop mirroring
13+ runs-on : ubuntu-20.04
14+ steps :
15+ - name : Download
16+ run : curl -L https://archive.apache.org/dist/hadoop/common/hadoop-${{ github.event.inputs.hadoop-version }}/hadoop-${{ github.event.inputs.hadoop-version }}.tar.gz -o hadoop-${{ github.event.inputs.hadoop-version }}.tar.gz
17+ - name : Release
18+ uses : softprops/action-gh-release@v1
19+ with :
20+ tag_name : hadoop-${{ github.event.inputs.hadoop-version }}
21+ body : Mirroring of the Hadoop ${{ github.event.inputs.hadoop-version }} package
22+ files : hadoop-${{ github.event.inputs.hadoop-version }}.tar.gz
You can’t perform that action at this time.
0 commit comments