Skip to content

Commit e48da88

Browse files
committed
fix: action yaml error
1 parent f2a5e3a commit e48da88

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

.github/workflows/push.yml

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,14 @@ jobs:
2121
echo "GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
2222
- name: Build Arduino Libs
2323
run: bash ./build.sh
24-
# - name: Release
25-
# uses: jason2866/[email protected]
26-
# with:
27-
# tag_name: ${{ github.run_number }}
28-
# body_path: release-info.txt
29-
# prerelease: true
30-
# files: |
31-
# dist/framework*
32-
# release-info.txt
33-
# env:
34-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
- name: Create Release and Upload Release Asset
36-
uses: softprops/action-gh-release@v1
37-
if: startsWith(github.ref, 'refs/tags/')
38-
with:
39-
tag_name: ${{ env.REF_NAME }}
40-
name: ${{ env.REF_NAME }}
41-
token: ${{ secrets.ACCESS_TOKEN }}
42-
draft: false
43-
prerelease: false
44-
files: |
45-
dist/*
24+
- name: Create Release and Upload Release Asset
25+
uses: softprops/action-gh-release@v1
26+
if: startsWith(github.ref, 'refs/tags/')
27+
with:
28+
tag_name: ${{ env.REF_NAME }}
29+
name: ${{ env.REF_NAME }}
30+
token: ${{ secrets.ACCESS_TOKEN }}
31+
draft: false
32+
prerelease: false
33+
files: |
34+
dist/*

0 commit comments

Comments
 (0)