Skip to content

Merge pull request #418 from wayofdev/release-please--branches--maste… #204

Merge pull request #418 from wayofdev/release-please--branches--maste…

Merge pull request #418 from wayofdev/release-please--branches--maste… #204

Workflow file for this run

---
# https://github.com/google-github-actions/release-please-action#release-types-supported
on: # yamllint disable-line rule:truthy
push:
tags:
- 'v*.*.*'
name: 📤 Upload artifacts
jobs:
upload-artifacts:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ['ubuntu-22.04']
node: ['18']
steps:
- name: 📦 Check out the codebase
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: ⚙️ Setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org/'
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install
- name: ♻️ Restore packages cache
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/.cache
${{ github.workspace }}/**/tsconfig.tsbuildinfo
key: ${{ runner.os }}-packages-cache-${{ hashFiles('**/pnpm*.yaml') }}
restore-keys: |
${{ runner.os }}-packages-cache-${{ hashFiles('**/pnpm*.yaml') }}
- name: 🚀 Generate dist files
run: pnpm build:jar
- name: 📤 Upload release assets
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./out/keywind.jar"]'