Skip to content

Commit

Permalink
fixes reusable workflow usage, switches how we get dep
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanCobb committed Jul 17, 2022
1 parent 4542e18 commit 5d768e8
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,34 @@ name: Release new version of addon to WoW Interface
on:
workflow_dispatch:
# Enables a button to manually run this against the main branch
branches: [ main ]
push:
# Enables automatic deploys off pushes/merges into the main branch
branches: [ main ]

jobs:
build:
get-deps:
runs-on: ubuntu-latest
steps:
- name: Clone Processables Lib
uses: GuillaumeFalourd/clone-github-repo-action@v2
uses: robinraju/[email protected]
with:
owner: 'p3lim-wow'
repository: 'LibProcessable'
repository: "p3lim-wow/LibProcessable"
latest: true
zipBall: true
out-file-path: "libs/LibProcessable"

- name: Copy Processables into Lib
- name: Debugging
run: |
ls -lsa
cp -r LibProcessable libs/
ls -lsa
ls libs -lsa
echo "ROOT"
ls -la
echo "CLONED REPO"
ls -la libs
- name: Upload to WoW Interface
uses: icbat/wow-addon-github-workflow/.github/workflows/release-wowi.yml@main
with:
addon_name: OpenThosePouches
addon_bundled_files: OpenThosePouches.lua libs/ LICENSE README.md
wowi_id: 26222
secrets:
wowi_api_token: ${{secrets.WOWI_API_TOKEN}}
release:
uses: icbat/wow-addon-github-workflow/.github/workflows/release-wowi.yml@main
with:
addon_name: OpenThosePouches
addon_bundled_files: OpenThosePouches.lua libs/ LICENSE README.md
wowi_id: 26222
secrets:
wowi_api_token: ${{secrets.WOWI_API_TOKEN}}

0 comments on commit 5d768e8

Please sign in to comment.