out commented publish.yml #12
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
### | |
## Publish new action tag(s) for downstream consumption | |
### | |
#name: Publish | |
# | |
## Manual or automatic release | |
#on: | |
# release: | |
# types: [published, edited] | |
# | |
#jobs: | |
# publish: | |
# runs-on: ubuntu-latest | |
# steps: | |
# # Release with semantic tag like v1.0.3 | |
# - name: Checkout | |
# uses: actions/[email protected] | |
# with: | |
# ref: ${{ github.event.release.tag_name }} | |
# token: ${{ secrets.MOD_PAT }} | |
# | |
# - name: Setup Node | |
# uses: actions/[email protected] | |
# with: | |
# node-version: 16 | |
# cache: 'npm' | |
# | |
# - name: Install deps and build | |
# run: npm ci && npm run build | |
# | |
# # Compile dist/index.js and bundle with action.yml | |
# # Force push major and minor tags, e.g. v1, v1.0 | |
# # See documentation: https://github.com/JasonEtco/build-and-tag-action | |
# - name: Build and tag | |
# uses: JasonEtco/[email protected] | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.MOD_PAT }} | |
# |