Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWanderer-GH committed Jan 4, 2020
1 parent 8bd9dd5 commit d25bf35
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,36 @@
name: CI
name: Retail-Classic-Build

on: [push]
on:
release:
types: [published]

jobs:

build:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v1
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.

- name: Set env with Curse Forge API key
shell: bash
run: sudo echo "::set-env name=CF_API_KEY::${{ secrets.CF_API_KEY }}"

- name: Store Curse Forge API key into a .env file
shell: bash
run: sudo echo "CF_API_KEY=${CF_API_KEY}" > ./.env && ls -al
working-directory: ./.release

- name: Build Retail
run: sudo bash ./release.sh -l
shell: bash
working-directory: ./.release

- name: Build Classic
run: sudo bash ./release.sh -l -g 1.13.3
shell: bash
working-directory: ./.release


0 comments on commit d25bf35

Please sign in to comment.