forked from othermod/PSPi-Version-6
-
Notifications
You must be signed in to change notification settings - Fork 1
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
296af30
commit b53a565
Showing
1 changed file
with
11 additions
and
10 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 |
---|---|---|
|
@@ -12,6 +12,12 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Go 1.21 | ||
uses: actions/[email protected] | ||
with: | ||
go-version: '1.21' | ||
id: go | ||
|
||
- name: Install apt dependencies | ||
run: | | ||
|
@@ -20,18 +26,13 @@ jobs: | |
- name: Install packer-builder-arm | ||
run: | | ||
# mkdir -p $HOME/.config/packer/plugins | ||
# cd $HOME/.config/packer/plugins | ||
cd /usr/local/bin | ||
mkdir -p $HOME/.config/packer/plugins | ||
cd $HOME/.config/packer/plugins | ||
git clone https://github.com/mkaczanowski/packer-builder-arm | ||
cd packer-builder-arm | ||
go get -v -t -d ./... | ||
if [ -f Gopkg.toml ]; then | ||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | ||
dep ensure | ||
fi | ||
sudo go mod download | ||
sudo go build -v . | ||
go mod download | ||
go build -v . | ||
export PACKER_PLUGIN_PATH=$HOME/.config/packer/plugins | ||
- name: Packer init | ||
run: | | ||
|