Separate Forgejo Actions Push And Release Workflow

This commit is contained in:
Neshura 2023-11-17 08:13:45 +00:00
parent c170618df9
commit 622e30caa5

View file

@ -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