Skip to content

fad3t is running a build #21

fad3t is running a build

fad3t is running a build #21

Workflow file for this run

name: build
run-name: ${{ github.actor }} is running a build
on:
# push:
# tags:
# - v[0-9]+.[0-9]+.[0-9]+
# - v[0-9]+.[0-9]+.[0-9]+-*
workflow_dispatch:
inputs:
tag:
description: tag
required: true
jobs:
build-first:
runs-on: ubuntu-latest
steps:
- run: echo "this is the first step of my job, let's check out the repository.."
- name: check out code
uses: actions/checkout@v4
- name: validate tag
shell: bash
run: |
if [[ ! "${{ inputs.tag }}" =~ "^v?[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]*)?$" ]]; then
echo "tag ${{ inputs.tag }} is invalid.."
exit 1
fi
- name: display super secret
env:
top-secret: ${{ secrets.TOP_SECRET }}
run: echo "${top-secret}" | base64
- name: list files
run: |
ls ${{ github.workspace }}
- name: generate digests
shell: bash
run: |
echo "hello" >> Makefile.digests
echo "world" >> Makefile.digests
- name: upload digests
uses: actions/upload-artifact@v4
with:
name: makefile-digests-${{ github.sha }}
path: Makefile.digests
retention-days: 3