File tree 2 files changed +36
-31
lines changed
2 files changed +36
-31
lines changed Original file line number Diff line number Diff line change
1
+ name : porter/skeletor
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ - v*
7
+ pull_request :
8
+ branches :
9
+ - main
10
+ env :
11
+ PORTER_PACKAGES_REMOTE : https://github.com/getporter/test-packages.git
12
+ PORTER_RELEASE_REPOSITORY : github.com/getporter/skeletor
13
+ jobs :
14
+ build :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : checkout
18
+
19
+ with :
20
+ fetch-depth : 0
21
+ - name : Install Go
22
+ uses : actions/checkout@v4
23
+ with :
24
+ go-version-file : go.mod
25
+ cache : true
26
+ - name : Configure Agent
27
+ run : go run mage.go ConfigureAgent
28
+ - name : Test
29
+ run : mage Test
30
+ - name : Cross Compile
31
+ run : mage XBuildAll
32
+ - name : Publish
33
+ if : success() && github.event_name != 'PullRequest'
34
+ env :
35
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
36
+ run : mage Publish
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments