From c170618df9df840b54f9fea411b9a603dad27e2f Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 17 Nov 2023 08:09:27 +0000 Subject: [PATCH] Forgejo Actions Syntax Fixes And Tag Locking --- .forgejo/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index ce11e84..74eb09a 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,10 +8,13 @@ jobs: run: echo Placeholder Job 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 container: rust:latest steps: + - + name: Installing Node + run: apt install -y node - name: Checking Out Repository Code uses: https://code.forgejo.org/actions/checkout@v3