-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 889 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'ci'
on:
push:
workflow_dispatch:
#defaults:
# run:
# shell: bash
# working-directory: ${{ github.workspace }}
jobs:
create-release:
runs-on: ubuntu-latest
permissions: write-all
#defaults:
# run:
# working-directory: ${{ github.repository }}
steps:
#- uses: actions/checkout@v3
- run: |
git init
git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
git fetch origin --depth=1 $GITHUB_SHA
git checkout $GITHUB_SHA
ls -lah
- run: |
shopt -s globstar
chmod +x ./**/*.sh
./bip/build.sh
- env:
GH_TOKEN: ${{ github.token }}
run: |
DT=`git --no-pager log -n1 --decorate=no --pretty='format:%cd_%h' --date=format:'%Y-%m-%d_%H-%M-%S'`
echo $DT
gh release create $DT ./bip/bin/bip ./bix/bix