forked from Crypho/cordova-plugin-secure-storage
-
Notifications
You must be signed in to change notification settings - Fork 13
32 lines (29 loc) · 853 Bytes
/
release_plugin.yml
File metadata and controls
32 lines (29 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Release Cordova Plugin (GitHub)
on:
workflow_dispatch:
permissions:
contents: write
jobs:
release:
runs-on: 'ubuntu-latest'
timeout-minutes: 20
steps:
- uses: actions/checkout@v6
with:
ref: outsystems
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN_GITHUB }}
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 25
- name: Install dependencies
run: npm i
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN_GITHUB }}
run: npm run release