Skip to content

Commit

Permalink
testing automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlong committed Jan 24, 2021
1 parent 139e8aa commit 9252cf2
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
release:
name: Create Release Branch and Tag
runs-on: ubuntu-latest
outputs:
tag: 'v${{ steps.vars.outputs.pkg_version }}'
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -34,12 +32,6 @@ jobs:
with:
cmd: build

- name: 'web-ext build'
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build

- name: "web-ext lint"
uses: kewisch/action-web-ext@v1
env:
Expand All @@ -48,20 +40,16 @@ jobs:
cmd: lint
channel: listed

- name: 'web-ext sign'
id: web-ext-sign
- name: 'web-ext build'
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: sign
source: ${{ steps.web-ext-build.outputs.target }}
channel: unlisted
apiKey: ${{ secrets.AMO_SIGN_KEY }}
apiSecret: ${{ secrets.AMO_SIGN_SECRET }}
timeout: 900000
cmd: build

- name: 'Create Release'
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.web-ext-sign.outputs.target }}
files: ${{ steps.web-ext-build.outputs.target }}
tag_name: v${{ steps.vars.outputs.pkg_version }}

0 comments on commit 9252cf2

Please sign in to comment.