24 lines
521 B
YAML
24 lines
521 B
YAML
name: Release
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
release:
|
|
if: github.repository == 'moodlemobile/moodleapp'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: Install npm packages
|
|
run: npm ci --no-audit
|
|
- name: Create release tags
|
|
env:
|
|
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
|
run: ./.github/scripts/release.sh
|