Skip to content

Commit

Permalink
Checkout code before installing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed Dec 21, 2023
1 parent 96f545b commit e5d143f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4

- name: set env
run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV

Expand All @@ -23,17 +25,20 @@ jobs:
- name: Generate provider code
run: node generators/rootly/rootly.js

- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21"

- name: Build for linux/amd64
run: go build -o terraformer-rootly-linux-amd64

- name: Build for linux/arm64
run: GOOS=linux GOARCH=arm64 go build -o terraformer-rootly-linux-arm64

- name: Build for mac
run: GOOS=darwin go build -o terraformer-rootly-darwin-amd64

- name: Build for mac Apple Silicon
run: GOOS=darwin GOARCH=arm64 go build -o terraformer-rootly-darwin-arm64

Expand Down

0 comments on commit e5d143f

Please sign in to comment.