Skip to content

Commit e471dd6

Browse files
authored
Merge pull request #51 from kichristensen/useGithubActions
Convert to Github Actions
2 parents 573b96f + 1bd679a commit e471dd6

File tree

2 files changed

+36
-31
lines changed

2 files changed

+36
-31
lines changed

.github/workflows/skeletor.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
uses: actions/[email protected]
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

azure-pipelines.yml

-31
This file was deleted.

0 commit comments

Comments
 (0)