Skip to content

Commit

Permalink
Test GitHub Action referred in separate repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nmiyake committed Dec 10, 2024
1 parent 0d50cb0 commit a635f42
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/publish-godel-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: publish-godel-artifacts
on:
release:
types:
- created
on: push

jobs:
run-godel-publish:
runs-on: ubuntu-latest
Expand All @@ -16,7 +14,7 @@ jobs:
- id: set-gopath
run: echo "::set-output name=GOPATH::$(go env GOPATH)"
- id: go-dist-info
uses: ./.github/actions/go-dist-info
uses: github/godel/go-dist-info@nmiyake/test-github-actions
with:
gopath: ${{ steps.set-gopath.outputs.gopath }}
- id: restore-go-dist-from-cache
Expand All @@ -27,7 +25,7 @@ jobs:
${{ steps.set-gopath.outputs.gopath }}/go-dists/${{ steps.go-dist-info.outputs.go-dist-version }}
key: ${{ runner.os }}-${{ steps.go-dist-info.outputs.go-dist-version }}
- id: go-dist-setup
uses: ./.github/actions/go-dist-setup
uses: github/godel/go-dist-setup@nmiyake/test-github-actions
with:
gopath: ${{ steps.set-gopath.outputs.gopath }}
go-version: ${{ steps.go-dist-info.outputs.go-dist-version }}
Expand All @@ -48,6 +46,3 @@ jobs:
- run: ./godelw dist
env:
GOPATH: "/home/runner/go"
- run: ./godelw publish github --add-v-prefix --api-url=$GITHUB_API_URL --user=palantir --repository=godel-conjure-plugin --token=${{ secrets.GITHUB_TOKEN }}
env:
GOPATH: "/home/runner/go"

0 comments on commit a635f42

Please sign in to comment.