Skip to content

Commit

Permalink
fix workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Nov 9, 2023
1 parent 6a52405 commit 04af9a9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "test",
"on": {
"push": {
"branches": [
"dev"
"branches-ignore": [
"master"
],
"paths-ignore": [
".git*",
Expand All @@ -13,8 +13,7 @@
},
"pull_request": {
"branches": [
"master",
"dev"
"master"
],
"paths-ignore": [
".git*",
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: test
on:
push:
branches:
- dev
branches-ignore:
- master
paths-ignore:
- .git*
- '**.md'
- '*.properties'
pull_request:
branches:
- master
- dev
paths-ignore:
- .git*
- '**.md'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/to_yaml.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu

cd ${0%/*}

for _v in $(find ./ -maxdepth 1 -type f -name '*.json'); do
yq -I 4 -o y ${_v} | head -c -1 > ${_v%.*}.yaml
done; unset _v
6 changes: 0 additions & 6 deletions .github/workflows_json/to_yaml.sh

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# **Arduino Base64**
![actions:test](https://github.com/dojyorin/arduino_base64/actions/workflows/test.yaml/badge.svg)
![actions:release](https://github.com/dojyorin/arduino_base64/actions/workflows/release.yaml/badge.svg)
![shields:license](https://img.shields.io/github/license/dojyorin/arduino_base64)
![shields:release](https://img.shields.io/github/release/dojyorin/arduino_base64)

Convert between binary and base64 encoded string.
Easily convert sensor raw values, structures, etc...
Expand Down

0 comments on commit 04af9a9

Please sign in to comment.