Skip to content

ffff

ffff #35

Workflow file for this run

name: Publish on tag
on:
push:
branches:
- master
permissions:
contents: read # needed for checkout
jobs:
runDagger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get commit metadata
id: metadata
run: |
echo "::set-output name=commit::$(jq -n --arg sha "${{ github.sha }}" --arg ref "${{ github.ref }}" --arg event "${{ github.event_name }}" '{sha: $sha, ref: $ref, event: $event}')"
shell: bash
- name: Call dagger onPush
run: |
echo 'json: ${{ steps.metadata.outputs.commit }}'
# cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sh; cd -; }
# dagger call on-push --dir=. --commit-json=
# uses: dagger/dagger-for-github@v5
# with:
# version: "0.10.2"
# verb: call
# module: github.com/anthonybrice/timpkg@3ea4fac61cb0a744e9e279658b049e2c49d7257a
# args: on-push --dir=. --commit-json=${{ steps.metadata.outputs.commit }}
# # args: node dagger/src/index.ts