Skip to content

Commit

Permalink
add zip release github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LennyPenny committed Nov 22, 2020
1 parent 3739963 commit d67bf23
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
push:
tags:
- 'v*'

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: papeloto/action-zip@v1
with:
files: manifest.json icon-48.png icon-64.png icon-128.png LICENSE vegarando.js
dest: vegarando.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Download the new Vegarando WenExtension zip below!
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./vegarando.zip
asset_name: vegarando.zip
asset_content_type: application/zip

0 comments on commit d67bf23

Please sign in to comment.