Skip to content

fix: oops remove function deleted before #24

fix: oops remove function deleted before

fix: oops remove function deleted before #24

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*'
jobs:
getVersion:
runs-on: ubuntu-22.04
outputs:
tag: ${{ steps.vars.outputs.tag }}
steps:
- id: vars
run: echo "tag=${GITHUB_REF#refs/*/v}" >> $GITHUB_OUTPUT
build:
needs: getVersion
strategy:
matrix:
platform: [ "bukkit", "sponge", "forge", "fabric" ]
branch: ["master"]
include:
- platform: forge
branch: "1.16"
- platform: forge
branch: "1.18"
uses: ./.github/workflows/build.yaml
with:
version: ${{ needs.getVersion.outputs.tag }}
platform: ${{ matrix.platform }}
branch: ${{ matrix.branch }}
release:
needs:
- build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
path: build
- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
build/**/*.jar
publish:
needs:
- getVersion
- release
uses: ./.github/workflows/publish.yaml
with:
version: ${{ needs.getVersion.outputs.tag }}