File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 matrix :
5555 goos : [linux]
5656 goarch : ["arm64", "amd64"]
57-
5857 fail-fast : true
5958
6059 name : Go ${{ matrix.goos }} ${{ matrix.goarch }} build
@@ -69,18 +68,14 @@ jobs:
6968
7069 - name : Build
7170 id : build-binary
72- env :
73- GOOS : ${{ matrix.goos }}
74- GOARCH : ${{ matrix.goarch }}
75- VERSION : ${{ needs.get-product-version.outputs.product-version }}
7671 run : |
77- make build
78- mkdir out
79- ZIP_FILE="out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}. zip"
80- zip -r "${ZIP_FILE}" LICENSE pkg/extensions
72+ ZIP_FILE="${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip"
73+
74+ make zip
75+ mv pkg/${{ env.PKG_NAME }}.zip pkg/"$ZIP_FILE"
8176
82- echo "path =${ZIP_FILE}" >> $GITHUB_OUTPUT
83- echo "name=$(basename $ {ZIP_FILE}) " >> $GITHUB_OUTPUT
77+ echo "name =${ZIP_FILE}" >> " $GITHUB_OUTPUT"
78+ echo "path=pkg/$ {ZIP_FILE}" >> " $GITHUB_OUTPUT"
8479
8580 - uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
8681 with :
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ build: clean
1414 .
1515
1616zip : build
17- cd pkg && zip -r vault-lambda-extension.zip extensions/
17+ cp LICENSE pkg/LICENSE.txt
18+ cd pkg && zip -r vault-lambda-extension.zip LICENSE.txt extensions/
1819 @echo " Extension built: pkg/vault-lambda-extension.zip"
1920
2021lint :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ resource "aws_db_instance" "main" {
1010 allocated_storage = 20
1111 storage_type = " gp2"
1212 engine = " postgres"
13- engine_version = " 14.7 "
13+ engine_version = " 14.12 "
1414 instance_class = var. db_instance_type
1515 db_name = " lambdadb"
1616 username = " vaultadmin"
You can’t perform that action at this time.
0 commit comments