Closed Fuerback closed 1 year ago
All the problems above were fixed with following workflow:
name: Build
on: push
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'npm'
cache-dependency-path: |
livebud/package-lock.json
package-lock.json
- name: Install Bud
run: |
chmod +x ./bud-install.sh
./bud-install.sh
shell: bash
- name: Run npm
run: npm install
- name: Install Go modules
run: go mod download
- name: Bud build
run: bud build
What is different from the last one is the Install Go modules
step.
Hey, I'm trying to create a GitHub Action workflow to build the project, but I couldn't find a way to make it work.
I don't know if the installation
sh
file can be changed to allow GH Actions to install Bud, for example.Build workflow
Error
Update
I could find a way to make it work, here is what I did:
sh
file from https://raw.githubusercontent.com/livebud/bud/main/install.shsudo
The new build workflow is:
Build workflow
But I'm still having problems when executing
bud build
command: