You've already forked gitea-release-action
mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2025-08-12 12:14:36 +07:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
8b3b4f4429 | |||
5951579e82 | |||
74c59ef00c |
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: Build and Publish
|
name: Build and Publish
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
@ -12,11 +15,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: 'main'
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: package-lock.json
|
cache-dependency-path: package-lock.json
|
||||||
|
- run: npm install -D
|
||||||
- run: npm run package
|
- run: npm run package
|
||||||
- run: |
|
- run: |
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
|
Reference in New Issue
Block a user