Skip to content

Commit

Permalink
actions workflows file modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadzeya Mikhailava authored and Nadzeya Mikhailava committed Apr 29, 2024
1 parent a7d543e commit e3c1af4
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: build release
uses: grafana/plugin-actions/build-plugin@main
id: build_release
- uses: grafana/plugin-actions/build-plugin@main
#with:
# see https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token to generate it
# save the value in your repository secrets
#policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}

- run: mv flespi-parameters-datasource-*.zip flespi-parameters-datasource.zip

- run: echo ${{ steps.build_release.outputs.upload_url }}

# - uses: softprops/action-gh-release@v2
# with:
# files: flespi-parameters-datasource.zip

- uses: actions/upload-release-asset@v1
- uses: softprops/action-gh-release@v2
with:
upload_url: ${{ steps.build_release.outputs.upload_url }}
asset_path: ./flespi-parameters-datasource.zip
asset_name: flespi-parameters-datasource.zip
asset_content_type: application/zip

draft: true
files: flespi-parameters-datasource.zip

0 comments on commit e3c1af4

Please sign in to comment.