Use the actual version

This commit is contained in:
wispem-wantex 2025-06-01 12:45:38 -04:00
parent a95f00a291
commit 76dabf157e
2 changed files with 4 additions and 5 deletions

View File

@ -4,18 +4,17 @@ on: [push]
jobs: jobs:
test: test:
# container: offline-twitter/go container: offline-twitter/go
container: node # container: node
steps: steps:
- name: env - name: env
run: | run: |
env env
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: checkout - name: checkout
uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/wispem/shellcheckout@${{ github.ref }} uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/wispem/shellcheckout@${{ github.ref }}
- name: wc -l - name: wc -l
run: wc -l action.yml run: wc -l action.yml

View File

@ -12,6 +12,6 @@ runs:
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"
basicauth=$(echo -n "x-access-token:${{ github.token }}" | base64) basicauth=$(echo -n "x-access-token:${{ github.token }}" | base64)
git config --local http.$GITHUB_SERVER_URL.extraheader "AUTHORIZATION: basic ${basicauth}" git config --local http.$GITHUB_SERVER_URL.extraheader "AUTHORIZATION: basic ${basicauth}"
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch origin "$GITHUB_REF" git fetch origin "$GITHUB_REF"
git checkout "$GITHUB_REF_NAME" git checkout "$GITHUB_REF_NAME"
shell: bash shell: bash