File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,21 @@ jobs:
1414 - name : Read App Info
1515 id : app
1616 run : |
17- app_id=$(cat app.manifest | jq -r '.info.id.name')
18- app_version=$(cat app.manifest | jq -r '.info.id.version')
17+ app_id=$(cat splunk_*/ app.manifest | jq -r '.info.id.name')
18+ app_version=$(cat splunk_*/ app.manifest | jq -r '.info.id.version')
1919 echo "name=${app_id}" >> $GITHUB_OUTPUT
2020 echo "version=${app_version}" >> $GITHUB_OUTPUT
21+ working-directory : ./packages
2122
2223 - name : Bundle app source
2324 env :
2425 APP_NAME : ${{ steps.app.outputs.name }}
25- APP_VERSION : ${{ steps.app.outputs.vesion }}
26+ APP_VERSION : ${{ steps.app.outputs.version }}
2627 run : |
2728 # Exclude images from README file
2829 sed -i '/^!/d' README.md
29- mkdir -p output/$APP_NAME
30- rsync -av --exclude='.[^/]*' --exclude='output/' ./ output/$APP_NAME
31- tar -C output -zcvf $APP_NAME-$APP_VERSION.tar.gz $APP_NAME/
30+ cp README.md packages/$APP_NAME
31+ tar -C packages -zcvf $APP_NAME-$APP_VERSION.tar.gz $APP_NAME/
3232
3333 - name : Upload artifact
3434 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments