-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfcafc3
commit 811d669
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,6 +159,19 @@ jobs: | |
popd | ||
pwd | ||
plugincheck2 -config ./plugin-validator/config/default.yaml /home/runner/work/Grafana.Plugin.CostManagement/Grafana.Plugin.CostManagement/dfe-azurecostbackend-datasource/${{ steps.metadata.outputs.archive }} | ||
# Copy the zip file to the releases folder in github.workspace | ||
cp -f ./${{ steps.metadata.outputs.archive }} ${{ github.workspace }}/releases/ | ||
cp -f ./${{ steps.metadata.outputs.archive-checksum }} ${{ github.workspace }}/releases/ | ||
- name: Commit Zip to Repo | ||
run: | | ||
# Commit the changes to the repository | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive }} | ||
git add ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive-checksum }} | ||
git commit -m "Add plugin zip file" | ||
git push | ||
- name: Create Github release | ||
uses: softprops/action-gh-release@v1 | ||
|