Update call-username.yml
Some checks failed
Test Go Action / use-go-action (push) Failing after 0s

This commit is contained in:
Xiufeng Guo 2024-07-10 19:44:22 +09:00
parent 87acbafe70
commit e037827399
Signed by: showfom
GPG Key ID: 29A7777777777777

View File

@ -5,17 +5,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup Go - name: Setup Go
uses: actions/checkout@v4 - uses: actions/checkout@v4
uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.20' go-version: '1.20'
- run: go version - run: go version
- name: Use Go Action
id: use-go-action
uses: https://gitea.com/Zettat123/simple-go-action@v1
with:
username: foo
- name: Print Output - name: Print Output
run: echo 'output time is ${{ steps.use-go-action.outputs.time }}' run: echo 'output time is ${{ steps.use-go-action.outputs.time }}'