Skip to content

repair path objects for equal-always? #2126

repair path objects for equal-always?

repair path objects for equal-always? #2126

Workflow file for this run

name: Snapshot Generation
on:
push:
branches:
- master
# Only run at most one snapshot action
# https://docs.github.com/en/enterprise-cloud@latest/actions/using-jobs/using-concurrency
# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
create-installer:
runs-on: ubuntu-22.04
if: github.repository == 'racket/racket'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cleanup # this is only needed in `act` testing
run: |
rm -rf ~/.racket/
- uses: Bogdanp/setup-racket@v1.11
with:
architecture: 'x64'
# FIXME: use the binary s3-sync pkg
distribution: 'full'
variant: 'CS'
version: '7.7'
packages: 's3-sync'
- name: Install pkg dependencies
run: |
sudo apt update
sudo apt install -y libffi-dev unzip libfindbin-libs-perl
- name: Building
env:
DISTRO_BUILD_SITE_DEST: "${{ runner.temp }}/site-dest/"
run: |
export cpus=$(grep -c ^processor /proc/cpuinfo)
export HERE=`pwd`
make snapshot-site CONFIG=".github/workflows/site-small.rkt" -j $((cpus+1))
- name: S3 Sync
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWSAccessKeyID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSecretKey }}
run: |
ls -l ${{ runner.temp }}/site-dest/
raco s3-sync --acl public-read --web --redirects-links ${{ runner.temp }}/site-dest/ s3://ci-snapshot.racket-lang.org/