forked from phanx-wow/CoolLine
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bd9dd5
commit d25bf35
Showing
1 changed file
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|