Skip to content

Commit

Permalink
actions(release): setup task and use it for tran releasing, update …
Browse files Browse the repository at this point in the history
…Taskfile
  • Loading branch information
abdfnx committed Feb 12, 2022
1 parent 0234c18 commit c7c3d4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
with:
install-only: true

- name: Set up `Task`
uses: arduino/setup-task@v1

- name: Set up `Tag`
id: ghtag
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
Expand All @@ -58,7 +61,7 @@ jobs:
cd ../scripts/gh-tran
yarn
cd ../..
make ght
task ght
- name: Commit files
env:
Expand Down Expand Up @@ -86,5 +89,5 @@ jobs:

- name: Build Tran Containers
run: |
make btc
make bftc
task build-tran-container
task build-tran-full-container
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tasks:
cmds:
- if [ -f "date.txt" ]; then rm date.txt; fi
- if [ -f "tag.txt" ]; then rm tag.txt; fi
- echo {{ now | date "2006-01-02" }} >> date.txt
- go run ./scripts/date.go >> date.txt
- git describe --abbrev=0 --tags >> tag.txt

build:
Expand Down

0 comments on commit c7c3d4d

Please sign in to comment.