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:
|
||||
run-tests:
|
||||
runs-on: docker
|
||||
|
@ -8,13 +12,14 @@ jobs:
|
|||
run: echo Placeholder Job
|
||||
|
||||
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
|
||||
container: rust:latest
|
||||
steps:
|
||||
-
|
||||
name: Installing Node
|
||||
run: apt install -y node
|
||||
run: apt install -y nodejs
|
||||
-
|
||||
name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
Loading…
Reference in a new issue