Skip to content

Commit

Permalink
Add test GitHub action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Whiteford committed Dec 4, 2023
1 parent c509ded commit 4d631ab
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "xxx" ]
pull_request:
branches: [ "xxx" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}

0 comments on commit 4d631ab

Please sign in to comment.