Update golang.org/x/exp digest to 2d47ceb #442
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: Release yaml | |
on: | |
pull_request: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
component: [controlplane, tetrad] | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- name: Release | |
env: | |
FORCE_COLOR: 3 | |
run: | | |
npx zx <<'EOF' | |
const script = require('./.github/workflows/release.js').release | |
script('${{ matrix.component }}').then(result => { | |
console.log(result) | |
}).catch(err => { | |
throw err | |
}) | |
EOF | |
- | |
name: Publish Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
draft: true | |
generate_release_notes: true | |
files: | | |
${{ matrix.component }}/dist/${{ matrix.component }}.yaml |