Separate Forgejo Actions Push And Release Workflow
This commit is contained in:
parent
c170618df9
commit
622e30caa5
1 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -8,13 +12,14 @@ jobs:
|
||||||
run: echo Placeholder Job
|
run: echo Placeholder Job
|
||||||
|
|
||||||
build:
|
build:
|
||||||
if: ${{ github.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]+' }} || ${{ github.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]+rc[0-9]+' }}
|
needs: test
|
||||||
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: rust:latest
|
container: rust:latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Installing Node
|
name: Installing Node
|
||||||
run: apt install -y node
|
run: apt install -y nodejs
|
||||||
-
|
-
|
||||||
name: Checking Out Repository Code
|
name: Checking Out Repository Code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
Loading…
Reference in a new issue