Skip to content

Incompat: it is a page not a thread (#103) #408

Incompat: it is a page not a thread (#103)

Incompat: it is a page not a thread (#103) #408

Workflow file for this run

name: Build & Publish (Root)
on:
push:
branches:
- root
paths-ignore:
- "yaml-files/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.17
- name: Gradle (Build)
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Upload artifacts (Main JAR)
uses: actions/upload-artifact@v2
with:
name: Main JAR
path: build/libs/*-all.jar
- name: Upload artifacts (JARs)
uses: actions/upload-artifact@v2
with:
name: JARs
path: build/libs/*.jar
- name: Upload artifacts (Module JARs)
uses: actions/upload-artifact@v2
with:
name: Module JARs
path: module-*/build/libs/*.jar
- name: Gradle (Publish)
uses: gradle/gradle-build-action@v2
env:
ORG_GRADLE_PROJECT_signingKey: "${{ secrets.SIGNING_KEY }}"
ORG_GRADLE_PROJECT_signingPassword: "${{ secrets.SIGNING_KEY_PASSPHRASE }}"
with:
arguments: |
publish
"-Pmaven.url.snapshots=${{ secrets.SNAPSHOTS_URL }}"
"-Pmaven.url.releases=${{ secrets.MAVEN_URL }}"
"-Pmaven.user=${{ secrets.MAVEN_USERNAME }}"
"-Pmaven.password=${{ secrets.MAVEN_PASSWORD }}"
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker build -t ghcr.io/quiltmc/cozy-discord:latest -t ghcr.io/quiltmc/cozy-discord:${GITHUB_SHA} .
- run: docker push ghcr.io/quiltmc/cozy-discord:latest
- run: docker push ghcr.io/quiltmc/cozy-discord:${GITHUB_SHA}