Change software package name #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Create Release | |
| on: | |
| push: | |
| # Sequence of patterns matched against refs/tags | |
| tags: | |
| - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23.1' | |
| - name: Get Version | |
| id: branch-names | |
| uses: tj-actions/branch-names@v8 | |
| with: | |
| strip_tag_prefix: v | |
| - name: Build | |
| run: | | |
| chmod +x ./build.sh | |
| ./build.sh ${{ steps.branch-names.outputs.tag }} X86 | |
| ./build.sh ${{ steps.branch-names.outputs.tag }} ARM | |
| ./build.sh ${{ steps.branch-names.outputs.tag }} PPC64LE | |
| - name: Create Release and Upload Release Asset | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| body: TODO New Release. | |
| draft: true | |
| files: | | |
| eSDK_Storage_CSI_V${{ steps.branch-names.outputs.tag }}_X86_64.zip | |
| eSDK_Storage_CSI_V${{ steps.branch-names.outputs.tag }}_ARM_64.zip | |
| eSDK_Storage_CSI_V${{ steps.branch-names.outputs.tag }}_PPC64LE_64.zip |