Jaeger UI v1.37.0 #13
Workflow file for this run
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
name: Publish release | |
on: | |
release: | |
types: | |
- published | |
# See https://github.com/jaegertracing/jaeger/issues/4017 | |
# and https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions | |
permissions: | |
deployments: write | |
contents: write | |
jobs: | |
publish-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 | |
with: | |
cache: yarn | |
node-version: '18' | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn build | |
id: yarn-build | |
- name: Package artifacts | |
id: package-artifacts | |
run: tar -czvf ./assets.tar.gz --strip-components=3 packages/jaeger-ui/build/ | |
if: steps.yarn-build.outcome == 'success' | |
- name: Upload artifacts | |
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df | |
with: | |
file: 'assets.tar.gz' | |
overwrite: true | |
tag: ${{ github.ref }} | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
if: steps.package-artifacts.outcome == 'success' |