diff --git a/.github/workflows b/.github/workflows-renamed similarity index 100% rename from .github/workflows rename to .github/workflows-renamed diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 0000000000..c392cd1151 --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,34 @@ +#migration complete +name: Manually Migrated Workflow + +on: + push: + branches: + - develop + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Set up Zulu JDK + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '8' + + - name: Build with Maven + run: mvn clean package -DskipTests=true -Dcheckstyle.skip=true + + - name: Cache Maven dependencies + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: Send email notification + run: echo "Email notification sent to a@binarywang.com" \ No newline at end of file