Skip to content

Commit

Permalink
Merge pull request #19 from Ceiridge/citesting
Browse files Browse the repository at this point in the history
Merge the build and release Github Actions workflow to master
  • Loading branch information
Ceiridge authored Jun 1, 2020
2 parents 7c3de1f + cce8012 commit b17b73d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
49 changes: 49 additions & 0 deletions .github/workflows/buildandrelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# The comments aren't made by me (Ceiridge), but by some nice author that made the default github actions workflow template :)
name: Build And Release

on: [push]

jobs:
build:
runs-on: windows-2019

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
submodules: true

- name: Build the project with MSBuild
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" -t:restore
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ChromeDevExtWarningPatcher.sln -p:Configuration=Release
- name: Zip the builds
shell: powershell
run: |
cd ChromeDevExtWarningPatcher\bin\Release;
Compress-Archive -DestinationPath ChromeDevExtWarningPatcher.zip -Path ChromeDevExtWarningPatcher.exe,CommandLine.dll;
dir;
- name: Create a Release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ci${{ github.sha }}
release_name: Prerelease for ${{ github.sha }} in ${{ github.ref }}
body: Automatically created prerelease by the Build And Release CI
draft: false
prerelease: true

- name: Upload Release files
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}\ChromeDevExtWarningPatcher\bin\Release\ChromeDevExtWarningPatcher.zip
asset_name: ChromeDevExtWarningPatcher.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Disable Chromium's and Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
**Download** it in the [release section](https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/releases). The patterns and patches auto-update with the `patterns.xml`.

## Supported browsers
## Supported browsers
See below for the custom paths (commandline option).
```javascript
- All x64 and x86/x32 bit Chromium-based browsers, including:
Expand Down

0 comments on commit b17b73d

Please sign in to comment.