File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Github Release Created
22
33on :
4- release :
5- types : ["published"] # Inherits all input defaults
4+ # release:
5+ # types: ["published"] # Inherits all input defaults
6+ push :
7+ branch :
8+ - feature/CCM-11751_github_release_fix
69
710concurrency :
811 group : ${{ github.workflow }}-${{ github.ref }}
@@ -25,11 +28,12 @@ jobs:
2528 run : |
2629 cd infrastructure/modules
2730 for module in */; do
31+ ls -al
2832 module_name=${module%/}
2933 echo "Zipping contents of $module_name..."
3034 (cd "$module_name" && zip -r "../../../artifacts/terraform-${module_name}.zip" .)
3135 echo "Publishing $module_name module..."
32- gh release upload ${{ github.event.release.tag_name }} "../../artifacts/terraform-${module_name}.zip" --clobber
36+ gh release upload v2.0.20 "../../artifacts/terraform-${module_name}.zip" --clobber
3337 done
3438 env :
3539 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments