Skip to content

Commit

Permalink
new: added release action
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsubhranil committed Jan 29, 2022
1 parent 8936857 commit 64a2143
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: chmod +x ./build.sh && ./build.sh
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
openwrt-*/bin/targets/ramips/mt7621/*.bin
body: Snapshot build at ${{ steps.date.outputs.date }}
tag_name: ${{ steps.date.outputs.date }}

0 comments on commit 64a2143

Please sign in to comment.