Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
walteh committed May 25, 2024
1 parent 2916c12 commit a49526e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/simver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,25 @@
# pull_request: { types: [opened, synchronize, reopened, closed] },
},
defaults: { run: { shell: bash } },
jobs:
{
simver:
{
runs-on: ubuntu-latest,
steps:
[
jobs: { simver: { runs-on: ubuntu-latest, steps: [
{
name: checkout code,
uses: "actions/checkout@v4",
with: { fetch-depth: 0 },
},
# print current git context
{
name: print git context,
run: "jq . -r <<< '${{ toJson(github) }}' | tee /dev/stderr",
},
{
name: checkout code,
uses: "actions/checkout@v4",
with:
{
fetch-depth: 0,
repository: "walteh/simver",
ref: "${{ env.GITHUB_WORKFLOW_SHA }}",
ref: "${{ env.GITHUB_WORKFLOW_REF }}",
path: "__simver__",
},
},
Expand All @@ -54,7 +53,5 @@
},
run: "go run ./__simver__/cmd/simver_gha --read-only=false",
},
],
},
},
] } },
}

0 comments on commit a49526e

Please sign in to comment.