Skip to content

Conversation

@Concelare
Copy link
Contributor

@Concelare Concelare commented Feb 21, 2024

This Pull Request fixes/closes #2083.

Added nightly.yml to .github/workflows, which is scheduled to run at Midnight UTC & is manually triggerable. it is based off the cd.yml. I have I tested it & it succesfully creates the nightly release with tag & it is marked as a pre-release.

image

I followed the checklist:

  • I added unittests - N/A
  • I ran make check without errors - N/A
  • I tested the overall application
  • I added an appropriate item to the changelog

@Concelare
Copy link
Contributor Author

Concelare commented Mar 3, 2024

Updated to send artifacts to an AWS S3 Bucket using Actions & Secrets as requested by @extrawurst

Fixing Windows env variable syntax
Updating to use the /nightly-builds directory
@Concelare
Copy link
Contributor Author

Updated to use same upload method to S3 as live-ask, is stable & rewrites over the old files so shouldn't have any issues with storage.

Keeps builds in a nightly-builds directory

AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }}
run: |
aws s3 cp ./release/gitui.msi s3://"$env:AWS_BUCKET_NAME"/nightly-builds/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this $env ?

@extrawurst
Copy link
Collaborator

extended and finalized in #2164

@extrawurst extrawurst closed this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

provide nightly releases

3 participants