Skip to content

Commit

Permalink
ci: fix deletion of go manifest in package
Browse files Browse the repository at this point in the history
  • Loading branch information
fr-ser committed Jul 20, 2023
1 parent e1c70bd commit 860bee2
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,8 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'

jobs:
build-plugin-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Install go dependencies
run: make install-go-dependencies
- name: build all versions
run: make build-backend-all
- name: Upload linux binaries
uses: actions/upload-artifact@v3
with:
name: plugin-executables
path: ./dist/
create-artifacts:
runs-on: ubuntu-latest
needs:
- build-plugin-backend
steps:
- uses: actions/checkout@v3
- name: Get metadata about the plugin
Expand All @@ -53,22 +34,21 @@ jobs:
cache: npm
- name: Install dependencies
run: npm ci
- name: Download plugin backend
uses: actions/download-artifact@v3
with:
name: plugin-executables
path: ./dist/
- name: Build frontend
run: |
make build-frontend
- name: package-and-zip
env:
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }}
run: make package-and-zip PLUGIN_VERSION=${{ steps.metadata.outputs.version }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Install go dependencies
run: make install-go-dependencies
- name: build all versions
run: make build-backend-all
- name: package-and-zip
env:
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }}
run: make package-and-zip PLUGIN_VERSION=${{ steps.metadata.outputs.version }}
- name: Lint plugin
# the rc part of the version is rejected by the plugin validator
if: ${{ !steps.check_prerelease.outputs.is_prerelease }}
Expand Down

0 comments on commit 860bee2

Please sign in to comment.