Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stockiNail/TestGHA
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.6
Choose a base ref
...
head repository: stockiNail/TestGHA
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.7.0
Choose a head ref
  • 15 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 9, 2023

  1. Update blank.yml

    stockiNail authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0a7848f View commit details
  2. Update blank.yml

    stockiNail authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b9a0f18 View commit details
  3. Update blank.yml

    stockiNail authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7b0953d View commit details
  4. Update blank.yml

    stockiNail authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6e9a5e9 View commit details

Commits on Aug 10, 2023

  1. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    45f73a2 View commit details
  2. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2fbccd0 View commit details
  3. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f09e4dc View commit details
  4. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6869fc1 View commit details
  5. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    268f6f0 View commit details
  6. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    60ff180 View commit details
  7. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    082357c View commit details
  8. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    89fa978 View commit details
  9. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    970ce4d View commit details
  10. Update blank.yml

    stockiNail authored Aug 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d1a317a View commit details

Commits on Jan 24, 2024

  1. Update blank.yml

    stockiNail authored Jan 24, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3168662 View commit details
Showing with 18 additions and 39 deletions.
  1. +18 −39 .github/workflows/blank.yml
57 changes: 18 additions & 39 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,25 @@
# This is a basic workflow to help you get started with Actions
# This is a basic workflow to help you get started with Actions stock

name: CI

# Controls when the action will run.
#on:
# Triggers the workflow on push or pull request events but only for the main branch
#push:
# branches:
# - main
##release:
#- '[0-9]+.[0-9]+'
## types: [published]
name: Check Release Tag Name

on:
push:
tags:
- '[0-9]+.[0-9]+'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
release:
types: [published]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
check-tag:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Branch
id: branch
# run: echo "version=${TAG}" >> $GITHUB_OUTPUT
# run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
# env:
# TAG: ${{ github.event.release.tag_name }}
- name: Build base image
run: |
echo $VERSION
env:
VERSION: ${{ steps.branch.outputs.version }}
- name: Check Tag Name
env:
TAG_NAME: ${{ github.event.release.tag_name }}
REGEXP: '^v[0-9]+\.[0-9]+\.[0-9]+$' # Modifica questa regexp come necessario
run: |
if [[ "$TAG_NAME" =~ $REGEXP ]]; then
echo "Il tag matcha con la regexp."
# Aggiungi qui ulteriori azioni se la regexp corrisponde
else
echo "Il tag non matcha con la regexp."
# Opzionalmente, puoi fallire il workflow se non c'è match
exit 1
fi