diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..782c830 --- /dev/null +++ b/action.yml @@ -0,0 +1,16 @@ +# action.yml +name: 'Hello World' +description: 'Greet someone and record the time' +inputs: + who-to-greet: # id of input + description: 'Who to greet' + required: true + default: 'World' +outputs: + time: # id of output + description: 'The time we greeted you' +runs: + using: 'docker' + image: 'Dockerfile' + args: + - ${{ inputs.who-to-greet }} diff --git a/config.yaml b/config.yaml deleted file mode 100644 index d7709ca..0000000 --- a/config.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Go - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - go-version: [ '1.19', '1.20', '1.21.x' ] - - steps: - - uses: actions/checkout@v4 - - name: Setup Go ${{ matrix.go-version }} - uses: actions/setup-go@v5 - with: - go-version: ${{ matrix.go-version }} - # You can test your matrix by printing the current Go version - - name: Display Go version - run: go version