From 749de482eed2dcef1c8a3c9be16de078d7b6a476 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 19 Sep 2022 11:31:04 -0400 Subject: [PATCH] GitHub Actions stuff --- .github/workflows/main.yml | 2 +- .github/workflows/mv3.yml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5decfe6fb..958acad07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: GitHub CI +name: uBO release on: create: diff --git a/.github/workflows/mv3.yml b/.github/workflows/mv3.yml index 0be420026..f017f60da 100644 --- a/.github/workflows/mv3.yml +++ b/.github/workflows/mv3.yml @@ -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: