Skip to content

Merge pull request #179 from SongY123/main #16

Merge pull request #179 from SongY123/main

Merge pull request #179 from SongY123/main #16

Workflow file for this run

name: Deploy CI Workflow
on:
push:
branches:
- main
jobs:
build:
name: Deploy
if: github.repository_owner == 'BUAA-BDA'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: ./scripts/build/package.sh
- name: Deploy to GitHub Packages
run: ./scripts/build/deploy.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Hu-Fu Release Artifact
uses: actions/[email protected]
with:
name: OpenHuFu-release
path: release