|
42 | 42 | - name: Set up Go
|
43 | 43 | uses: actions/setup-go@v2
|
44 | 44 | with:
|
45 |
| - go-version: 1.17 |
| 45 | + go-version: 1.18 |
46 | 46 |
|
47 | 47 | - name: Get latest version tag
|
48 | 48 | run: |-
|
@@ -105,40 +105,18 @@ jobs:
|
105 | 105 | path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_darwin_amd64.gz
|
106 | 106 | if-no-files-found: error
|
107 | 107 |
|
108 |
| - # test-amd64: |
109 |
| - # name: Integration Test |
110 |
| - # runs-on: ${{ matrix.os }} |
111 |
| - # needs: build |
112 |
| - # strategy: |
113 |
| - # matrix: |
114 |
| - # os: [ubuntu-latest, macos-latest, windows-latest] |
115 |
| - # steps: |
116 |
| - |
117 |
| - # test-darwin-amd64: |
118 |
| - # name: Test MacOS (AMD64) |
119 |
| - # runs-on: macos-latest |
120 |
| - # needs: build |
121 |
| - |
122 |
| - # test-linux-amd64: |
123 |
| - # name: Test Linux (AMD64) |
124 |
| - # runs-on: ubuntu-latest |
125 |
| - # needs: build |
126 |
| - |
127 |
| - # test-windows-amd64: |
128 |
| - # name: Test Windows (AMD64) |
129 |
| - # runs-on: windows-latest |
130 |
| - # needs: build |
131 |
| - |
132 |
| - # There are no runners for amd64 - would need to run our own... |
| 108 | + - name: Save MacOS Build Artifact - ARM64 |
| 109 | + uses: actions/upload-artifact@v2 |
| 110 | + with: |
| 111 | + name: steampipe-${{ env.PLUGIN_NAME }}_darwin_arm64 |
| 112 | + path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_darwin_arm64.gz |
| 113 | + if-no-files-found: error |
133 | 114 |
|
134 | 115 | publish-deploy:
|
135 | 116 | name: Publish and Deploy
|
136 | 117 | runs-on: ubuntu-latest
|
137 | 118 | needs:
|
138 | 119 | - build
|
139 |
| - # - test-darwin-amd64 |
140 |
| - # - test-linux-amd64 |
141 |
| - # - test-windows-amd64 |
142 | 120 |
|
143 | 121 | steps:
|
144 | 122 | - name: Checkout
|
@@ -182,6 +160,11 @@ jobs:
|
182 | 160 | with:
|
183 | 161 | name: steampipe-${{ env.PLUGIN_NAME }}_darwin_amd64
|
184 | 162 |
|
| 163 | + - name: Download darwin_arm64 artifact |
| 164 | + uses: actions/download-artifact@v2 |
| 165 | + with: |
| 166 | + name: steampipe-${{ env.PLUGIN_NAME }}_darwin_arm64 |
| 167 | + |
185 | 168 | - name: List files
|
186 | 169 | run: ls -l
|
187 | 170 |
|
@@ -253,6 +236,7 @@ jobs:
|
253 | 236 | --manifest-config config.json:application/vnd.turbot.steampipe.config.v1+json \
|
254 | 237 | --manifest-annotations annotations.json \
|
255 | 238 | steampipe-plugin-${PLUGIN_NAME}_darwin_amd64.gz:application/vnd.turbot.steampipe.plugin.darwin-amd64.layer.v1+gzip \
|
| 239 | + steampipe-plugin-${PLUGIN_NAME}_darwin_arm64.gz:application/vnd.turbot.steampipe.plugin.darwin-arm64.layer.v1+gzip \ |
256 | 240 | steampipe-plugin-${PLUGIN_NAME}_linux_amd64.gz:application/vnd.turbot.steampipe.plugin.linux-amd64.layer.v1+gzip \
|
257 | 241 | steampipe-plugin-${PLUGIN_NAME}_linux_arm64.gz:application/vnd.turbot.steampipe.plugin.linux-arm64.layer.v1+gzip \
|
258 | 242 | docs:application/vnd.turbot.steampipe.plugin.docs.layer.v1+tar \
|
|
0 commit comments