Skip to content

Commit

Permalink
Update relese.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble authored Oct 1, 2021
1 parent 0d1a39f commit 7285f7d
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/relese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Read version.properties
id: version
uses: juliangruber/read-file-action@v1
- uses: madhead/read-java-properties@latest
id: all
with:
path: ./test.abc

- uses: rishabhgupta/split-by@v1
id: split
with:
string: "${{ steps.version.outputs.content }}"
split-by: '='
file: gradle.properties
all: true

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "312"
release_name: "Release ${{ steps.split.outputs._1}}"
tag_name: "${{ steps.all.outputs.version }}"
release_name: "Release ${{ steps.all.outputs.version }}"
draft: false
prerelease: false

0 comments on commit 7285f7d

Please sign in to comment.