Compare commits
28 Commits
wip-r/1
...
release/1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5eee554ae | ||
|
|
dbf0bf8b47 | ||
|
|
1757caf760 | ||
|
|
154a12483e | ||
|
|
8f3d75c010 | ||
|
|
718926c776 | ||
|
|
21129c90a8 | ||
|
|
61d3055e77 | ||
|
|
4c44f1682f | ||
|
|
ead4715425 | ||
|
|
ceb331236f | ||
|
|
efb5140d5b | ||
|
|
675e60a9d3 | ||
|
|
eda31c222d | ||
|
|
85bb6c2ad2 | ||
|
|
ecd72cb678 | ||
|
|
56c654ac50 | ||
|
|
d8676bfa36 | ||
|
|
bce25f7840 | ||
|
|
32a0c2d240 | ||
|
|
fda37b8b20 | ||
|
|
62a110b9b1 | ||
|
|
9bbad99e57 | ||
|
|
73b1427fe6 | ||
|
|
5f8f59f8b5 | ||
|
|
158d42185e | ||
|
|
f208079d80 | ||
|
|
b32cfcd4c1 |
20
.github/actions/utils/action.yml
vendored
Normal file
20
.github/actions/utils/action.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Utils
|
||||
|
||||
description: |
|
||||
Utils...
|
||||
author: ZpqrtBnk <sgay@pilotine.com>
|
||||
|
||||
inputs:
|
||||
mode:
|
||||
description: Some Description
|
||||
default: miss
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- shell: bash
|
||||
run: echo "Hello from Utils + ${{ inputs.mode }}"
|
||||
|
||||
branding:
|
||||
color: blue
|
||||
icon: file-text
|
||||
38
.github/workflows/exp.yml
vendored
38
.github/workflows/exp.yml
vendored
@@ -10,41 +10,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Experiment
|
||||
uses: zpqrtbnk/gh-actions/experiment@master
|
||||
#- name: Experiment
|
||||
# uses: zpqrtbnk/gh-actions/experiment@master
|
||||
|
||||
- name: Infos
|
||||
shell: bash
|
||||
run: |
|
||||
echo "github.ref: '${{ github.ref }}'"
|
||||
echo "github.sha: '${{ github.sha }}'"
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Report
|
||||
shell: bash
|
||||
run: |
|
||||
git log --graph --pretty=format':%h%%d %s %an, %ar' | head -n 5
|
||||
if [ "${{ github.ref }}#refs/heads/" != "${{ github.ref }}" ]; then
|
||||
# a commit, not a tag
|
||||
echo "COMMIT"
|
||||
BRANCH="${{ github.ref }}#refs/heads/"
|
||||
git fetch origin wip-$BRANCH:wip-$BRANCH
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "TAG NOT FOUND"
|
||||
else
|
||||
TAGSHA=$(git rev-parse wip-$BRANCH)
|
||||
echo "FOUND TAG $TAGSHA"
|
||||
if [ "$TAGSHA" != "${{ github.sha }}" ]; then
|
||||
echo "BAD TAG"
|
||||
else
|
||||
echo "GOOD TAG"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
# a tag?
|
||||
echo "TAG"
|
||||
fi
|
||||
- name: Invoke
|
||||
uses: ./.github/actions/utils
|
||||
with:
|
||||
mode: meh
|
||||
Reference in New Issue
Block a user