diff --git a/.forgejo/actions/nested/test.yml b/.forgejo/actions/nested/test.yml new file mode 100644 index 0000000..4668214 --- /dev/null +++ b/.forgejo/actions/nested/test.yml @@ -0,0 +1,17 @@ +# action.yml +name: test +author: viceice +description: 'testing' +branding: + icon: 'package' + color: 'blue' + +runs: + using: 'composite' + steps: + - shell: bash + run: | + echo "uname: $(uname -p)" + echo "runner.arch: ${{ runner.arch }}" + echo "RUNNER_ARCH: ${RUNNER_ARCH}" + - uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2 diff --git a/.forgejo/actions/test/action.yml b/.forgejo/actions/test/action.yml new file mode 100644 index 0000000..a66fc87 --- /dev/null +++ b/.forgejo/actions/test/action.yml @@ -0,0 +1,19 @@ +# action.yml +name: test +author: viceice +description: 'testing' +branding: + icon: 'package' + color: 'blue' + +runs: + using: 'composite' + steps: + - shell: bash + run: | + echo "uname: $(uname -p)" + echo "runner.arch: ${{ runner.arch }}" + echo "RUNNER_ARCH: ${RUNNER_ARCH}" + + - uses: ./forgejo/actions/nested + - uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2 diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5885ee0..8bbdfa4 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -9,4 +9,6 @@ jobs: echo "uname: $(uname -p)" echo "runner.arch: ${{ runner.arch }}" echo "RUNNER_ARCH: ${RUNNER_ARCH}" + + - uses: ./forgejo/actions/nested - uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2