Forgejo Actions Syntax Fixes And Tag Locking
Some checks failed
/ upload-release (push) Has been skipped
/ run-tests (push) Successful in 7s
/ build (push) Failing after 5s

This commit is contained in:
Neshura 2023-11-17 08:09:27 +00:00
parent 3d2510162a
commit c170618df9

View file

@ -8,10 +8,13 @@ jobs:
run: echo Placeholder Job run: echo Placeholder Job
build: build:
if: ${{ github.ref_name }} =~ /^((([\d])+\.){1,2}[\d]+)\s*$/ && ${{ github.ref_name }} if: ${{ github.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]+' }} || ${{ github.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]+rc[0-9]+' }}
runs-on: docker runs-on: docker
container: rust:latest container: rust:latest
steps: steps:
-
name: Installing Node
run: apt install -y node
- -
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