File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 2020 container :
2121 image : golang:1.23-alpine
2222 steps :
23+ - name : exit
24+ run : program-does-not-exist
2325 - name : Install apk dependencies
2426 # tar: needed for actions/cache@v4
2527 # git+openssh: needed for checkout (I think?)
3234 uses : actions/checkout@v4
3335 with :
3436 submodules : true
37+ - name : Get TinyGo version
38+ id : version
39+ run : ./.github/workflows/tinygo-extract-version.sh >> "$GITHUB_OUTPUT"
40+ - name : TEST use version ${{ steps.version.outputs.version }}
41+ uses : actions/upload-artifact@v4
42+ with :
43+ name : linux-amd64-${{ steps.version.outputs.version }}-double-zipped
44+ path : |
45+ /tmp/tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
46+ /tmp/tinygo_${{ steps.version.outputs.version }}_amd64.deb
3547 - name : Cache Go
3648 uses : actions/cache@v4
3749 with :
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Extract the version string from the source code, to be stored in a variable.
4+ grep ' const version' goenv/version.go | sed ' s/^const version = "\(.*\)"$/version=\1/g'
You can’t perform that action at this time.
0 commit comments