Comments (4)
actions-test
branch of Artheau/SpriteSomething
from action-gh-release.
@miketrethewey thanks for reaching out.
Can you link to a repo where I can see and possibly try to reproduce your example?
I typically don't create a tag inside a workflow run but I think that should be possible. I can add some examples to the readme file. The logic that creates a tag on a push would need to be conditional in someway, I think you hinted at an env variable, in order to not create a loop but I don't think it's common to create a tag on every push.
That doesn't sound that the kind of problem that would be specific to this action. A push trigger that generates a push trigger that generates a push trigger sounds like a more general problem :) perhaps the workflow action that pushes a tag could only tag on pushes the specific branches when the current push ref is not a tag itself.
If you could link me to an example I can provide some more concrete help.
from action-gh-release.
Few things I noticed on initial glance.
- I don't think env variables get passed to between workflow actions steps by default. This may break some assumings the following code assumes
I haven't tied this myself yet but I'll do some experimenting. There does seem to be a special syntax for doing this mentioned in the docs
-
git tag only creates a tag on the runner. You need to push it to your git remote for GitHub releases to resolve it. https://github.com/Artheau/SpriteSomething/blob/d514706adacc2ddebaa2c4e3c44a11a0791c930c/.github/workflows/ci.yml#L211 I'll try an put together an example in this action's readme showing how to do that
-
there can be only one body. https://github.com/Artheau/SpriteSomething/blob/d514706adacc2ddebaa2c4e3c44a11a0791c930c/.github/workflows/ci.yml#L225 uses both options but only one will be used. This is mentioned here
I can take a closer look this weekend
from action-gh-release.
-
Yeah. I’ve been attempting to just write and read them from disk, or do the same action twice, which is obviously redundant.
-
I think I’m being tripped up by whatever “push” means as an event that the system checks for. What I really want is for it to fire on “commit” and “pull request.”
-
Yep. I’m hoping that it’ll
cat
the contents ofRELEASENOTES.md
and if that fails, it’ll just provide a hyperlink to it instead.
Thanks for the insight! That’ll give me a direction when I too return home from work today.
from action-gh-release.
Related Issues (20)
- Run successful, Release and tag created, but Missing Files HOT 7
- current version does not match any files issue, previous version is okay HOT 4
- make_latest missing in action.yml HOT 2
- v2.0.4 released but not set as latest version HOT 1
- ⚠️ GitHub release failed with status: 422 undefined HOT 6
- files Add array type support HOT 1
- GitHub release failed related to file DexMetadata (.dm) in Android with status: Not Found
- enhancement: display more helpful error message other than undefined HOT 8
- Ability to default the body to Github's "generate release notes"? HOT 2
- File pattern not matching file name when using "
- Existing releases are no longer updated HOT 6
- File Pattern Negation HOT 1
- files option does not respect working-directory setting HOT 7
- how to release everything in a folder
- Cannot set previous tag. Create release notes from [old latest till new latest] HOT 2
- Fails with too many commits: "Argument list too long" HOT 1
- File pattern not matching
- Upload fails with Error: write EPIPE
- #1 github issue-1 [bot] commit
- basic issue commit v01.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-gh-release.