mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
GitHub Actions stuff
This commit is contained in:
parent
8eb2f4077a
commit
749de482ee
2 changed files with 9 additions and 9 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: GitHub CI
|
||||
name: uBO release
|
||||
|
||||
on:
|
||||
create:
|
||||
|
|
16
.github/workflows/mv3.yml
vendored
16
.github/workflows/mv3.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: uBO Lite
|
||||
name: uBO Lite release
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
|
@ -29,6 +29,13 @@ jobs:
|
|||
echo "PACKAGE=$(basename $(ls dist/build/uBOLite_*.mv3.zip))" >> $GITHUB_ENV
|
||||
echo "TAGNAME=$(basename $(ls dist/build/uBOLite_*.mv3.zip) .mv3.zip)" >> $GITHUB_ENV
|
||||
cp dist/build/uBOLite.mv3/log.txt dist/chromium-mv3/
|
||||
- name: Commit uBOLite MV3 build log file
|
||||
# https://github.com/marketplace/actions/github-action-for-committing-changes-to-a-repository
|
||||
uses: devops-infra/action-commit-push@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit_message: Update build log file
|
||||
target_branch: master
|
||||
- name: Create GitHub release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
@ -38,13 +45,6 @@ jobs:
|
|||
tag_name: ${{ env.TAGNAME }}
|
||||
release_name: ${{ env.TAGNAME }}
|
||||
prerelease: true
|
||||
- name: Commit uBOLite MV3 build log file
|
||||
# https://github.com/marketplace/actions/github-action-for-committing-changes-to-a-repository
|
||||
uses: devops-infra/action-commit-push@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit_message: Update build log file
|
||||
target_branch: master
|
||||
- name: Upload uBOLite MV3 package
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue