Skip to content

Commit

Permalink
Add workflow for new driver releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tangalbert919 committed Apr 14, 2023
1 parent 8270259 commit 3cfe948
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release-driver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release driver

on:
push:
tags:
- '*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Download archive
run: |
curl -s https://github.com/tangalbert919/gigabyte-laptop-wmi/archive/${{ github.ref }}.zip -o archive.tar.gz
- name: Get checksum
run: sha256sum *.tar.gz | tee sum.txt
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: false
prerelease: false
files: sum.txt

0 comments on commit 3cfe948

Please sign in to comment.