fix: add project-id to workflows inputs (#34) #22
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Build GitHub Action | |
runs-on: ubuntu-latest | |
container: node:16 | |
steps: | |
- name: Install packages | |
run: | | |
apt-get update | |
apt-get install -y rsync | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci -q | |
- name: Build release | |
run: | | |
npm run lint | |
npm run build | |
npm run pack | |
- name: Copy files to release | |
run: | | |
mkdir release | |
cp LICENSE release/ | |
cp README.md release/ | |
cp action.yml release/ | |
cp -R dist/ release/dist/ | |
- name: Push changes to the branch | |
uses: JamesIves/[email protected] | |
with: | |
branch: release | |
folder: release |