mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-10-03 10:01:34 +00:00
Updated workflow to auto move v1 tag on all commits
This commit is contained in:
2 files changed
+21
-20
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
name: "Tag & Deploy Action"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
# - name: Run Tests
|
||||||
|
# run: npm run test
|
||||||
|
|
||||||
|
- name: Update v1 Tag
|
||||||
|
uses: hole19/git-tag-action@master
|
||||||
|
env:
|
||||||
|
TAG: v1
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
name: "Test action"
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- 'releases/*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- run: npm ci
|
|
||||||
- run: npm run build
|
|
||||||
- run: npm test
|
|
||||||
- uses: ./
|
|
||||||
with:
|
|
||||||
milliseconds: 1000
|
|
||||||
Reference in new issue
Block a user