Skip to content

Commit

Permalink
🎉 Wake Arena setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
tbunata committed Nov 8, 2024
1 parent c0d2da7 commit 0d91fef
Show file tree
Hide file tree
Showing 8 changed files with 27,746 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Wake Arena environment
uses: ./

- name: Wake Arena up
run: wake-arena --help
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# wake-arena-setup-action
# Wake Arena Setup GitHub Action

A GitHub action to set up an environment on the runner for the usage of Wake Arena in subsequent steps.

## Usage

To use this action in your GitHub workflows, you can refer to it in your workflow file. Here is an example of how to use it in a workflow:

```yaml
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Wake environment
uses: Ackee-Blockchain/[email protected]

- name: Wake up
run: wake --version
```
In the above example, the action is used after the code is checked out to set up an environment (install Wake and Foundry) and in the last step the `wake` command is executed.
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# action.yml
name: 'Wake Arena Setup'
description: 'Setups an environment for Wake Arena'
branding:
icon: 'package'
color: 'purple'
runs:
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 0d91fef

Please sign in to comment.