Handle sections with an unknown section type as errors #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build x86 tarball | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build-tarball: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build a tarball | |
run: ./dist.sh | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: tarball | |
path: mold-*.tar.gz |