Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Update dev-upload.yml #15

Update dev-upload.yml

Update dev-upload.yml #15

Workflow file for this run

name: Dev Builds
on:
push:
branches: [ "TU1" ]
pull_request:
branches: [ "TU1" ]
jobs:
build-devs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OUTPUT_NAME: Re-Console-Legacy-TU1-dev-$(echo $GITHUB_SHA | cut -c1-7)
OUTPUT: artifacts
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install Packwiz
run: go install github.com/packwiz/packwiz@latest
- name: Create dev build
run: |
packwiz refresh
packwiz modrinth export --output ${OUTPUT_NAME}.mrpack
- name: Prepare artifacts
run: |
mkdir $OUTPUT
mv ${OUTPUT_NAME}.mrpack ${OUTPUT}/
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: Re-Console-Legacy-TU1-dev-$(echo $GITHUB_SHA | cut -c1-7)
path: artifacts