test github metadata
Explore-Gitea-Actions
Details
Explore-Gitea-Actions
Details
This commit is contained in:
parent
7f583fe4c5
commit
8b82b1e4b7
|
@ -2,7 +2,7 @@ name: Gitea Actions Demo
|
|||
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
env:
|
||||
REPOSITORY: ${{ github.repository | cut -d/ -f2 }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
COMMIT_ID: ${{ github.sha }}
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
|
@ -11,7 +11,7 @@ jobs:
|
|||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||
- run: echo "repository_name is $REPOSITORY, commit id is $COMMIT_ID, docker tag is ${COMMIT_ID:0:10}"
|
||||
- run: echo "repository_name is $(echo $REPOSITORY | awk -F/ '{print $NF}'), commit id is $COMMIT_ID, docker tag is ${COMMIT_ID:0:10}"
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||
|
|
Loading…
Reference in New Issue