Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xela92 authored Aug 5, 2024
1 parent de8831d commit c2fe5fa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
wget -q https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xf go1.13.4.linux-amd64.tar.gz
sudo mv go /usr/local
echo "GOPATH=$HOME/go" >> $GITHUB_ENV
echo "GOROOT=/usr/local/go" >> $GITHUB_ENV
echo "PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> $GITHUB_ENV
mkdir -p $HOME/go/src
mkdir -p $HOME/go/bin
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV \
wget -q https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz \
sudo tar -xf go1.13.4.linux-amd64.tar.gz \
sudo mv go /usr/local \
echo "GOPATH=$HOME/go" >> $GITHUB_ENV \
echo "GOROOT=/usr/local/go" >> $GITHUB_ENV \
echo "PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> $GITHUB_ENV \
mkdir -p $HOME/go/src \
mkdir -p $HOME/go/bin \
go get "github.com/gobuffalo/packr/v2/packr2"
id: prepare_backend
- uses: actions/setup-node@v4
Expand Down

0 comments on commit c2fe5fa

Please sign in to comment.