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
|
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
|
||||||
|
|
Loading…
Reference in a new issue