Giter Club home page Giter Club logo

Comments (10)

timruffles avatar timruffles commented on June 18, 2024 10

We have deployed a fix for this. Sorry! πŸ˜“ @jwalton how is it looking for you?

from checkout.

TingluoHuang avatar TingluoHuang commented on June 18, 2024 3

ACK

from checkout.

nulano avatar nulano commented on June 18, 2024 1

Reported here as well: https://github.community/t5/GitHub-Actions/GITHUB-REF-and-GITHUB-SHA-no-longer-work/m-p/33283/highlight/true#M1439

from checkout.

jwalton avatar jwalton commented on June 18, 2024 1

@nulano I beat you to it by a minute, I'm afraid: https://github.community/t5/GitHub-Actions/PSA-GitHub-Actions-are-a-bit-broken-this-morning-missing-SHAs/m-p/33282#M1438 ;)

from checkout.

jwalton avatar jwalton commented on June 18, 2024

Actually, I think perhaps something more fundamental is broken here:

      - run: 'echo Sha is: $SHA'
        env:
          SHA: ${{ github.sha }}

results in:

Sha is:

Where's my sha? O_o

from checkout.

jwalton avatar jwalton commented on June 18, 2024

The default $GITHUB_SHA is also empty.

from checkout.

nulano avatar nulano commented on June 18, 2024

Even the ref is missing! Running cmd /c "set" on Windows gives:

[...]
GITHUB_BASE_REF=
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=d:\a\_temp\_github_workflow\event.json
GITHUB_HEAD_REF=
GITHUB_REF=
GITHUB_REPOSITORY=nulano/Pillow
GITHUB_SHA=
[...]

This broke about an hour ago.

from checkout.

nulano avatar nulano commented on June 18, 2024

Looks OK for me now.

from checkout.

jwalton avatar jwalton commented on June 18, 2024

@timruffles Working for me now! Don't worry, you're still beta, you can break stuff. ;) Thanks for the quick fix!

from checkout.

rela589n avatar rela589n commented on June 18, 2024

It seems that currently it doesn't work.

- name: Build docker images
        run: |
          $tag = '${{ env.GITHUB_SHA }}' | cut --characters=1-15

Results in:

 $tag = '' | cut --characters=1-15

from checkout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.