Forgejo Actions Syntax Fixes And Tag Locking
This commit is contained in:
parent
3d2510162a
commit
c170618df9
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue