-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from YuriSizov/make-ci-reusable
CI: Make routines reusable and enable PR tests
- Loading branch information
Showing
14 changed files
with
137 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Update GitHub Release | ||
description: Update the tag of an existing GH Release, and republish it. | ||
|
||
inputs: | ||
release-version: | ||
required: true | ||
republish: | ||
default: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Update the release tag | ||
shell: bash | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
git tag -d ${{ inputs.release-version }} | ||
git push origin :refs/tags/${{ inputs.release-version }} | ||
git tag ${{ inputs.release-version }} ${{ git.sha }} | ||
git push origin ${{ inputs.release-version }} | ||
- name: Republish the release | ||
if: ${{ inputs.republish }} | ||
shell: bash | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
gh release edit ${{ inputs.release-version }} --draft=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build and Test Pull Request | ||
|
||
on: | ||
pull_request: | ||
|
||
# Make sure jobs cannot overlap. | ||
concurrency: | ||
group: build-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
# First, build the extension and upload the artifacts. | ||
|
||
build-linux: | ||
name: Compile and upload Linux version | ||
uses: ./.github/workflows/extension-build-linux.yml | ||
|
||
build-macos: | ||
name: Compile and upload macOS version | ||
uses: ./.github/workflows/extension-build-macos.yml | ||
|
||
build-windows: | ||
name: Compile and upload Windows version | ||
uses: ./.github/workflows/extension-build-windows.yml | ||
|
||
build-web: | ||
name: Compile and upload Web version | ||
uses: ./.github/workflows/extension-build-web.yml | ||
|
||
build-android: | ||
name: Compile and upload Android version | ||
uses: ./.github/workflows/extension-build-android.yml | ||
|
||
# Then, use the artifacts to test the example project. | ||
|
||
export-example-project: | ||
name: Export the example project for target platforms | ||
needs: [ build-linux, build-macos, build-windows, build-web, build-android ] | ||
uses: ./.github/workflows/example-export-project.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters